Commit 6bad349481ab5df2b8adb3a582b353634b794eb9

Authored by Stéphane Raimbault
1 parent 602a7f38

Minor coding convention

Showing 1 changed file with 1 additions and 1 deletions
src/modbus.c
... ... @@ -495,7 +495,7 @@ static int check_confirmation(modbus_t *ctx, uint8_t *req,
495 495 }
496 496  
497 497 /* Check responding slave is the slave we requested */
498   - if(req[0] != 0 && rsp[0] != req[0]) {
  498 + if (req[0] != 0 && rsp[0] != req[0]) {
499 499 errno = EMBBADSLAVE;
500 500 return -1;
501 501 }
... ...