projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04d8d8d
)
not sending status messages twice
author
Christian Pointner
<equinox@realraum.at>
Tue, 12 May 2009 20:04:33 +0000
(20:04 +0000)
committer
Christian Pointner
<equinox@realraum.at>
Tue, 12 May 2009 20:04:33 +0000
(20:04 +0000)
door_daemon/door_daemon.c
patch
|
blob
|
history
diff --git
a/door_daemon/door_daemon.c
b/door_daemon/door_daemon.c
index
6f45140
..
36707f9
100644
(file)
--- a/
door_daemon/door_daemon.c
+++ b/
door_daemon/door_daemon.c
@@
-233,7
+233,7
@@
int process_door(int door_fd, cmd_t **cmd_q, client_t* client_lst)
if(!strncmp(tok, "Status:", 7)) {
client_t* client;
for(client = client_lst; client; client = client->next)
- if(client->status_listener)
+ if(client->status_listener && client->fd != (*cmd_q)->fd)
send_response(client->fd, tok);
}