]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 17 Sep 2004 19:51:26 +0000 (19:51 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 17 Sep 2004 19:51:26 +0000 (19:51 +0000)
2004-09-17  Jakub Jelinek  <jakub@redhat.com>

* nscd/nscd.c (parse_opt): Write arg string instead of (void *)
key to the socket.

ChangeLog
nscd/nscd.c

index 30fddd99e6ac0370689438ac2601dac8c620f11e..d06511f6284afc37257b20cbb3d50668281e8aa1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index b0e7a209477a36448afed0d0e2957da88e0b4c6c..51aed02c54ebb36b75deeefb35b124948bae793d 100644 (file)
@@ -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));