Replaced C99 initializer.

* lib/init.c: Replaced C99 initializer.

	* lib/read.c: (do_read): 1-line cleanup.
This commit is contained in:
Benoît Dejean
2004-10-10 17:21:57 +00:00
parent bbcbe6b67d
commit 13025c6c5f
3 changed files with 8 additions and 3 deletions

View File

@@ -42,8 +42,7 @@ do_read (int s, void *ptr, size_t total_size)
if(nread == 0)
close (s);
if (nread < 0)
else if (nread < 0)
glibtop_error_io ("recv");
}