summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-25 20:18:26 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-25 20:18:26 +0000
commit5279d519f8e98d6a134e77b54669512f618672bd (patch)
treeba6da87ea129be1f77ad0f07a33d88b2ab544498 /src/server
parent3d6bcf07921753141a3905ee5619724573460cb3 (diff)
downloadopenocd+libswd-5279d519f8e98d6a134e77b54669512f618672bd.tar.gz
openocd+libswd-5279d519f8e98d6a134e77b54669512f618672bd.tar.bz2
openocd+libswd-5279d519f8e98d6a134e77b54669512f618672bd.tar.xz
openocd+libswd-5279d519f8e98d6a134e77b54669512f618672bd.zip
- remove build warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@348 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server')
-rw-r--r--src/server/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/server.c b/src/server/server.c
index 6aa72b92..4e8ddc69 100644
--- a/src/server/server.c
+++ b/src/server/server.c
@@ -88,7 +88,7 @@ int remove_connection(service_t *service, connection_t *connection)
connection_t *c;
/* find connection */
- while(c = *p)
+ while((c = *p))
{
if (c->fd == connection->fd)
{
@@ -170,7 +170,7 @@ int remove_service(unsigned short port)
service_t *c;
/* find service */
- while(c = *p)
+ while((c = *p))
{
if (c->port == port)
{