Browse Source

Minor coding convention

Stéphane Raimbault 13 years ago
parent
commit
6bad349481
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modbus.c

+ 1 - 1
src/modbus.c

@@ -495,7 +495,7 @@ static int check_confirmation(modbus_t *ctx, uint8_t *req,
     }
     }
 
 
     /* Check responding slave is the slave we requested */
     /* Check responding slave is the slave we requested */
-    if(req[0] != 0 && rsp[0] != req[0]) {
+    if (req[0] != 0 && rsp[0] != req[0]) {
         errno = EMBBADSLAVE;
         errno = EMBBADSLAVE;
         return -1;
         return -1;
     }
     }