From dbd1a5ced2d144f330faba448e639b8dc9d6b009 Mon Sep 17 00:00:00 2001 From: Albin Tonerre Date: Sun, 15 Jun 2008 22:01:52 +0200 Subject: fix unsecure usage of printf and include limits.h (PATH_MAX and INT_MAX) --- src/local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/local.c') diff --git a/src/local.c b/src/local.c index e2c3599..4739e56 100644 --- a/src/local.c +++ b/src/local.c @@ -132,7 +132,7 @@ int do_local_client_step(int fd, void (*process)(char *buf)) void local_step(char *buf) { - printf(buf); + printf("%s", buf); } int do_local_request(int request, -- cgit v1.2.3