Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
2004-09-17  Jakub Jelinek  <jakub@redhat.com>

	* nscd/nscd.c (parse_opt): Write arg string instead of (void *)
	key to the socket.
  • Loading branch information
Ulrich Drepper committed Sep 17, 2004
1 parent 4110274 commit f731666
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion nscd/nscd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit f731666

Please sign in to comment.