Просмотр исходного кода

Minor - Missing '\n' in debug mode

Stéphane Raimbault 13 лет назад
Родитель
Сommit
5899689e87
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/modbus-tcp.c

+ 1 - 1
src/modbus-tcp.c

@@ -549,7 +549,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;