Signed-off-by: Pete Zaitcev <[email protected]>
---
server/server.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/server.c b/server/server.c
index c3e77f9..7c9c07a 100644
--- a/server/server.c
+++ b/server/server.c
@@ -706,7 +725,7 @@ static int net_open_any(void)
if (cld_srv.port_file) {
char portstr[7];
- snprintf(portstr, sizeof(portstr), "%u\n", port);
+ snprintf(portstr, sizeof(portstr), "%u", port);
return net_write_port(cld_srv.port_file, portstr);
}
return 0;
--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html