diff options
author | Christian Pointner <equinox@helsinki.at> | 2009-11-19 22:07:41 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2009-11-19 22:07:41 (GMT) |
commit | 7b8f7a63c8dd699d50444661ca2a0a291ad9a459 (patch) | |
tree | d389ba2208beeeb310070a4ba915c645d117b584 /utils.c | |
parent | d171586226b79bd0977f6f9c6584621e6c6e46bb (diff) |
added simple add/remove commands
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -111,7 +111,7 @@ int send_string(int fd, const char* string) return ret; } -int nonblock_recvline(read_buffer_t* buffer, int fd, client_t* client_lst, options_t* opt) +int nonblock_recvline(read_buffer_t* buffer, int fd, int inotify_fd, client_t* client_lst, options_t* opt) { int ret = 0; for(;;) { @@ -125,7 +125,7 @@ int nonblock_recvline(read_buffer_t* buffer, int fd, client_t* client_lst, optio if(buffer->buf[buffer->offset] == '\n') { buffer->buf[buffer->offset] = 0; - ret = process_cmd(buffer->buf, fd, client_lst, opt); + ret = process_cmd(buffer->buf, fd, inotify_fd, client_lst, opt); buffer->offset = 0; break; } |