From 41967e1cad75e8c1c4d3b76fcd31fdefd81af4a2 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 25 Apr 2007 16:05:18 +0000 Subject: [PATCH] * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead of 0 after the out_fail label. 2007-04-25 Jakub Jelinek * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead of 0 after the out_fail label. --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/check_pf.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 770fb73be0..4a94ec2e49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-04-25 Jakub Jelinek + + * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead + of 0 after the out_fail label. + 2007-04-25 Ulrich Drepper [BZ #4406] diff --git a/sysdeps/unix/sysv/linux/check_pf.c b/sysdeps/unix/sysv/linux/check_pf.c index caf3155259..46161a806a 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; }