commit dd0fe21a09f18751542aa29fef61857f145e4b5c parent 6a29c85a38902e360d4dd55b7d00b8f6b7354580 Author: Nico Golde <nion@suckless.org> Date: Sun, 4 Feb 2007 12:14:20 +0100 initialization Diffstat:
M | ii.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ii.c b/ii.c @@ -377,7 +377,7 @@ static void proc_server_cmd(char *buf) { static int read_line(int fd, size_t res_len, char *buf) { size_t i = 0; - char c; + char c = 0; do { if(read(fd, &c, sizeof(char)) != sizeof(char)) return -1;