From: Eric W. <war...@us...> - 2001-11-15 23:32:57
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv9905 Modified Files: gtkspell.c Log Message: ok Index: gtkspell.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/gtkspell.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- gtkspell.c 2001/11/15 22:47:03 1.14 +++ gtkspell.c 2001/11/15 23:32:54 1.15 @@ -85,7 +85,7 @@ while (!buf || (end = strchr(buf, '\n')) == NULL) { char space[1024]; int ret = read(fd_read[0], space, 1023); - if (ret < 0) { + if (ret <= 0) { error_print("read: %s\n", strerror(errno)); return NULL; } |