projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2171582
)
(parse_opt): Write arg string instead of (void *) key to the socket.
author
drepper
<drepper>
Fri, 17 Sep 2004 19:50:21 +0000
(19:50 +0000)
committer
drepper
<drepper>
Fri, 17 Sep 2004 19:50:21 +0000
(19:50 +0000)
nscd/nscd.c
patch
|
blob
|
history
diff --git
a/nscd/nscd.c
b/nscd/nscd.c
index
b0e7a20
..
51aed02
100644
(file)
--- 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));