浏览代码

Minor - Missing '\n' in debug mode

Stéphane Raimbault 13 年之前
父节点
当前提交
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;