projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
844ff09
)
small size optimization
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 14 Jan 2007 12:47:27 +0000
(12:47 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 14 Jan 2007 12:47:27 +0000
(12:47 -0000)
networking/isrv_identd.c
patch
|
blob
|
history
diff --git
a/networking/isrv_identd.c
b/networking/isrv_identd.c
index 389103920e96deb5ef8b1724ae40b9c36cc360ce..0279fc0bb6b4f7aead83aa9e0ab6166d80580352 100644
(file)
--- a/
networking/isrv_identd.c
+++ b/
networking/isrv_identd.c
@@
-83,11
+83,12
@@
static int do_timeout(void **paramp)
static void inetd_mode(void)
{
identd_buf_t *buf = xzalloc(sizeof(*buf));
+ /* buf->pos = 0; - xzalloc did it */
/* We do NOT want nonblocking I/O here! */
- buf->fd_flag = fcntl(0, F_GETFL, 0);
+ /* buf->fd_flag = 0; - xzalloc did it */
do
alarm(TIMEOUT);
- while (do_rd(0, (void*)&buf) == 0)
/* repeat */
;
+ while (do_rd(0, (void*)&buf) == 0);
}
int fakeidentd_main(int argc, char **argv)