From ee0ceb8516da91f1d341a3d7944300e27502b339 Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Wed, 22 May 2013 13:36:06 -0700 Subject: [PATCH] fix CS issues --- voxel-server/src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/voxel-server/src/main.cpp b/voxel-server/src/main.cpp index 34ab9425ba..92494c37d0 100644 --- a/voxel-server/src/main.cpp +++ b/voxel-server/src/main.cpp @@ -629,16 +629,16 @@ int main(int argc, const char * argv[]) { printf("got Z message len(%ld)= %s\n",receivedBytes,command); while (totalLength <= receivedBytes) { - if (0==strcmp(command,(char*)"erase all")) { + if (strcmp(command,(char*)"erase all") == 0) { printf("got Z message == erase all\n"); eraseVoxelTreeAndCleanupAgentVisitData(); } - if (0==strcmp(command,(char*)"add scene")) { + if (strcmp(command,(char*)"add scene") == 0) { printf("got Z message == add scene\n"); addSphereScene(&randomTree); } - if (0==strcmp(command,(char*)"a message")) { + if (strcmp(command,(char*)"a message") == 0) { printf("got Z message == a message, nothing to do, just report\n"); } totalLength += commandLength+1;