diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-04-25 16:05:18 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-04-25 16:05:18 +0000 |
commit | 41967e1cad75e8c1c4d3b76fcd31fdefd81af4a2 (patch) | |
tree | 993091f3d3e96a19b91eeb30e11ffb666a6dc9d6 | |
parent | ba508da3ad6c687cd618bd725b0269c1d024edeb (diff) | |
download | glibc-41967e1cad75e8c1c4d3b76fcd31fdefd81af4a2.zip glibc-41967e1cad75e8c1c4d3b76fcd31fdefd81af4a2.tar.gz glibc-41967e1cad75e8c1c4d3b76fcd31fdefd81af4a2.tar.bz2 |
* sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead
of 0 after the out_fail label.
2007-04-25 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead
of 0 after the out_fail label.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/check_pf.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2007-04-25 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead + of 0 after the out_fail label. + 2007-04-25 Ulrich Drepper <drepper@redhat.com> [BZ #4406] diff --git a/sysdeps/unix/sysv/linux/check_pf.c b/sysdeps/unix/sysv/linux/check_pf.c index caf3155..46161a8 100644 --- a/sysdeps/unix/sysv/linux/check_pf.c +++ b/sysdeps/unix/sysv/linux/check_pf.c @@ -226,7 +226,7 @@ make_request (int fd, pid_t pid, bool *seen_ipv4, bool *seen_ipv6, out_fail: if (use_malloc) free (buf); - return 0; + return -1; } |