Explorar o código

Minor - Missing '\n' in debug mode

Stéphane Raimbault %!s(int64=13) %!d(string=hai) anos
pai
achega
46281355d9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;