diff options
author | Christian Pointner <equinox@helsinki.at> | 2009-11-20 02:11:28 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2009-11-20 02:11:28 (GMT) |
commit | 440f0502990098326b2d8e4935da35809a0532a8 (patch) | |
tree | 049523d9d2bb299dd5dfd9c4f29f3fe77b64874b /utils.c | |
parent | 45a56fdac919977e22d8ad4bc73d5d223520b338 (diff) |
add and remove should work now
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, int inotify_fd, client_t* client_lst, options_t* opt) +int nonblock_recvline(read_buffer_t* buffer, int fd, int inotify_fd, watch_list_t* watch_lst, client_t* client_lst, options_t* opt) { int ret = 0; for(;;) { @@ -125,7 +125,7 @@ int nonblock_recvline(read_buffer_t* buffer, int fd, int inotify_fd, client_t* c if(buffer->buf[buffer->offset] == '\n') { buffer->buf[buffer->offset] = 0; - ret = process_cmd(buffer->buf, fd, inotify_fd, client_lst, opt); + ret = process_cmd(buffer->buf, fd, inotify_fd, watch_lst, client_lst, opt); buffer->offset = 0; break; } |