diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-09-17 19:51:26 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-09-17 19:51:26 +0000 |
commit | f731666f48ff8545cda808739630bd474f024ce8 (patch) | |
tree | a9c8950d3d3a4c8c4243157f7d3926aaf3cb0965 /nscd | |
parent | 41102740fba12515ac75cc4169b8809085a9624f (diff) | |
download | glibc-f731666f48ff8545cda808739630bd474f024ce8.tar glibc-f731666f48ff8545cda808739630bd474f024ce8.tar.gz glibc-f731666f48ff8545cda808739630bd474f024ce8.tar.bz2 glibc-f731666f48ff8545cda808739630bd474f024ce8.zip |
Update.
2004-09-17 Jakub Jelinek <jakub@redhat.com>
* nscd/nscd.c (parse_opt): Write arg string instead of (void *)
key to the socket.
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/nscd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/nscd.c b/nscd/nscd.c index b0e7a20947..51aed02c54 100644 --- a/nscd/nscd.c +++ b/nscd/nscd.c @@ -340,7 +340,7 @@ parse_opt (int key, char *arg, struct argp_state *state) iov[0].iov_base = &req; iov[0].iov_len = sizeof (req); - iov[1].iov_base = (void *) key; + iov[1].iov_base = arg; iov[1].iov_len = req.key_len; nbytes = TEMP_FAILURE_RETRY (writev (sock, iov, 2)); |