diff options
author | Christian Pointner <equinox@helsinki.at> | 2009-11-19 17:54:40 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2009-11-19 17:54:40 (GMT) |
commit | c704199bb4a1ba50961be03d586e162593909549 (patch) | |
tree | b599188843a00d8f46297ab494d6eee81475f217 /utils.c | |
parent | e3dea264db4f4d0edd093114a52f9a52da163407 (diff) |
got rid of useless cmd_q
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -110,7 +110,7 @@ int send_string(int fd, const char* string) return ret; } -int nonblock_recvline(read_buffer_t* buffer, int fd, cmd_t** cmd_q, client_t* client_lst, options_t* opt) +int nonblock_recvline(read_buffer_t* buffer, int fd, client_t* client_lst, options_t* opt) { int ret = 0; for(;;) { @@ -124,7 +124,7 @@ int nonblock_recvline(read_buffer_t* buffer, int fd, cmd_t** cmd_q, client_t* cl if(buffer->buf[buffer->offset] == '\n') { buffer->buf[buffer->offset] = 0; - ret = process_cmd(buffer->buf, fd, cmd_q, client_lst, opt); + ret = process_cmd(buffer->buf, fd, client_lst, opt); buffer->offset = 0; break; } |