소스 검색

Minor coding convention

Stéphane Raimbault 14 년 전
부모
커밋
6bad349481
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 */
-    if(req[0] != 0 && rsp[0] != req[0]) {
+    if (req[0] != 0 && rsp[0] != req[0]) {
         errno = EMBBADSLAVE;
         return -1;
     }