Sfoglia il codice sorgente

Minor - Missing '\n' in debug mode

Stéphane Raimbault 13 anni fa
parent
commit
46281355d9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/modbus-tcp.c

+ 1 - 1
src/modbus-tcp.c

@@ -605,7 +605,7 @@ int modbus_tcp_pi_accept(modbus_t *ctx, int *socket)
     }
 
     if (ctx->debug) {
-        printf("The client connection is accepted.");
+        printf("The client connection is accepted.\n");
     }
 
     return ctx->s;