SERVER: fix clang warning
authorAntonio Borneo <borneo.antonio@gmail.com>
Sun, 23 Oct 2011 04:16:26 +0000 (12:16 +0800)
committerØyvind Harboe <oyvindharboe@gmail.com>
Sun, 23 Oct 2011 15:17:09 +0000 (15:17 +0000)
commit8e8ff02b74fd98fcff080ecb081312d2a08f314e
tree7a20cae41aea3b9aa4d24702be83c57aeb03cff1
parent09fbc0ab8649c69a9f97fa4ed599db836a2c0152
SERVER: fix clang warning

The fix is inline with the Linux coding style that forbids
assignment in if condition

Change-Id: I0b9d0b419d9c8b7a8c755e048d5faf72d1658ba2
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/87
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
src/server/server.c