"Fossies" - the Fresh Open Source Software Archive

Member "ipfire-2.x-2.27-core174/src/patches/collectd/0018-openvpn-Remove-boguous-file-handler-check.patch" (7 Apr 2023, 593 Bytes) of package /linux/misc/ipfire-2.x-2.27-core174.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 From 5dbc1cfb4baff831f950b3c9de8c332bc9aa2b6e Mon Sep 17 00:00:00 2001
    2 From: Michael Tremer <michael.tremer@ipfire.org>
    3 Date: Wed, 17 Sep 2014 11:25:17 +0200
    4 Subject: [PATCH 18/22] openvpn: Remove boguous file handler check
    5 
    6 ---
    7  src/openvpn.c | 3 ---
    8  1 file changed, 3 deletions(-)
    9 
   10 diff --git a/src/openvpn.c b/src/openvpn.c
   11 index 7d4e4a0..9598abc 100644
   12 --- a/src/openvpn.c
   13 +++ b/src/openvpn.c
   14 @@ -316,9 +316,6 @@ static int multi1_read (char *name, FILE *fh)
   15         }
   16     }
   17  
   18 -   if (ferror (fh))
   19 -       return (0);
   20 -
   21     if (collect_user_count)
   22         numusers_submit(name, name, sum_users);
   23  
   24 -- 
   25 1.9.3
   26