commit fbba73ebb4d999eac0e68f8c06d8cd022f15dc01 parent 40939ffefb1f653d6398e228e752be64f5aec7a9 Author: sin <sin@2f30.org> Date: Thu, 25 Dec 2014 14:21:19 +0000 Use BUFSIZ Diffstat:
M | cmd.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd.c b/cmd.c @@ -203,7 +203,7 @@ docmd(int clifd) /* If no buffer, set it up. */ if (!buf) { - sz = 1024; + sz = BUFSIZ; buf = malloc(sz); if (!buf) err(1, "malloc");