projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
336ec43
)
improved error handling
author
Christian Pointner
<equinox@realraum.at>
Fri, 5 Jun 2009 15:13:23 +0000
(15:13 +0000)
committer
Christian Pointner
<equinox@realraum.at>
Fri, 5 Jun 2009 15:13:23 +0000
(15:13 +0000)
door_daemon/door_daemon.c
patch
|
blob
|
history
diff --git
a/door_daemon/door_daemon.c
b/door_daemon/door_daemon.c
index
da6b3a2
..
e9c02a1
100644
(file)
--- a/
door_daemon/door_daemon.c
+++ b/
door_daemon/door_daemon.c
@@
-241,6
+241,8
@@
int process_door(read_buffer_t* buffer, int door_fd, cmd_t **cmd_q, client_t* cl
ret = select(door_fd+1, &fds, NULL, NULL, &tv);
if(!ret)
return 0;
+ else if(ret < 0)
+ return ret;
ret = read(door_fd, &buffer->buf[buffer->offset], 1);
if(!ret)