diff options
| author | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-06-30 11:23:49 -0400 |
|---|---|---|
| committer | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-06-30 11:23:49 -0400 |
| commit | 2c5c8f38e1f2f33623f1ca794306040ec5c62050 (patch) | |
| tree | 2ae9df1b93acf7fd332baf2946abacb5dee6eee6 /src/dispatch.c | |
| parent | 5dc0e8f6da35f7c96967f08db4ea786ad557d141 (diff) | |
| download | slapi-nis-2c5c8f38e1f2f33623f1ca794306040ec5c62050.tar.gz slapi-nis-2c5c8f38e1f2f33623f1ca794306040ec5c62050.tar.xz slapi-nis-2c5c8f38e1f2f33623f1ca794306040ec5c62050.zip | |
- remove unused variables
- add a backend_data item to map entries
Diffstat (limited to 'src/dispatch.c')
| -rw-r--r-- | src/dispatch.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/dispatch.c b/src/dispatch.c index 69a8555..1abfef5 100644 --- a/src/dispatch.c +++ b/src/dispatch.c @@ -726,9 +726,7 @@ static void client_write(struct plugin_state *state, struct dispatch_client *client) { ssize_t count; - int32_t len, nlen; - int last; - char *query; + int32_t len; struct dispatch_client_data client_data; /* Try to send some of the pending data. */ @@ -799,10 +797,6 @@ dispatch_service_client(struct plugin_state *state, struct dispatch_client *client, struct pollfd *fd) { - ssize_t count; - int32_t len, nlen; - int last; - char *query; switch (client->client_state) { case client_reading: if (fd->revents & POLLIN) { @@ -831,12 +825,9 @@ void * dispatch_thread(struct wrapped_thread *t) { struct dispatch_client *clients, *client, *next, **list; - struct dispatch_client_data client_data; struct plugin_state *state = wrap_thread_arg(t); - struct request_info *request_info; struct pollfd *fds; int i, n_fds, client_count; - ssize_t count; bool_t stop; clients = NULL; |
