summaryrefslogtreecommitdiff
path: root/cmd/cmd_rand_libc.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-09-19 13:49:04 +0100
committerFreeArtMan <dos21h@gmail.com>2017-09-19 13:49:04 +0100
commitc2f9ce9c4b65ee53cd0c070895833215185061f3 (patch)
tree23ba9cde2a933448395d236ac4a87d22ee2d7282 /cmd/cmd_rand_libc.c
parentfc6970fcd404305c3e16d2e90d6d0dec4b03c160 (diff)
downloadagni-c2f9ce9c4b65ee53cd0c070895833215185061f3.tar.gz
agni-c2f9ce9c4b65ee53cd0c070895833215185061f3.zip
New line bug fix, /b 5
Diffstat (limited to 'cmd/cmd_rand_libc.c')
-rw-r--r--cmd/cmd_rand_libc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cmd_rand_libc.c b/cmd/cmd_rand_libc.c
index 1860a77..f0bd7a1 100644
--- a/cmd/cmd_rand_libc.c
+++ b/cmd/cmd_rand_libc.c
@@ -35,7 +35,7 @@ void *cmd_rand_libc(void *data)
snprintf(str_integer, 16, "%d ", rand_r(&rand_state));
out_result = sdscat(out_result, str_integer);
}
- out_result = sdscat(out_result,"\n");
+ out_result = sdscat(out_result,"");
snprintf(buf, buf_size, "%s", out_result);
sdsfree(params);