[hackers] ii: new tip (= 59)

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Sun, 04 Feb 2007 12:20:02 +0100

changeset: 59:0d186c0b099c
tag: tip
user: Nico Golde <nion_AT_suckless.org>
date: Sun Feb 04 12:14:20 2007 +0100
files: ii.c
description:
initialization

diff -r 9f52ba293b45 -r 0d186c0b099c ii.c
--- a/ii.c Sat Feb 03 20:15:41 2007 +0100
+++ b/ii.c Sun Feb 04 12:14:20 2007 +0100
@@ -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;
Received on Sun Feb 04 2007 - 12:20:03 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:54:51 UTC