summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2009-11-19 17:54:40 (GMT)
committerChristian Pointner <equinox@helsinki.at>2009-11-19 17:54:40 (GMT)
commitc704199bb4a1ba50961be03d586e162593909549 (patch)
treeb599188843a00d8f46297ab494d6eee81475f217 /utils.c
parente3dea264db4f4d0edd093114a52f9a52da163407 (diff)
got rid of useless cmd_q
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.c b/utils.c
index 653b368..2620e6f 100644
--- a/utils.c
+++ b/utils.c
@@ -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;
}