mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
Update.
2004-09-17 Jakub Jelinek <jakub@redhat.com> * nscd/nscd.c (parse_opt): Write arg string instead of (void *) key to the socket.
This commit is contained in:
parent
41102740fb
commit
f731666f48
@ -1,3 +1,8 @@
|
||||
2004-09-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* nscd/nscd.c (parse_opt): Write arg string instead of (void *)
|
||||
key to the socket.
|
||||
|
||||
2004-09-17 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* misc/sys/cdefs.h: Define __nonnull using nonnull function attribute
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user