[ldapvi] [PATCH 3/5] return 0 instead of nothing
Matěj Cepl
mcepl at cepl.eu
Fri Sep 8 18:01:34 CEST 2023
From: Björn Jacke <bj at sernet.de>
---
ldapvi/ldapvi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ldapvi/ldapvi.c b/ldapvi/ldapvi.c
index b594327..b56787c 100644
--- a/ldapvi/ldapvi.c
+++ b/ldapvi/ldapvi.c
@@ -1470,7 +1470,7 @@ copy_sasl_output(FILE *out, char *sasl)
int line = 0;
int c;
- if (lstat(sasl, &st) == -1) return;
+ if (lstat(sasl, &st) == -1) return 0;
if ( !(in = fopen(sasl, "r"))) syserr();
if (st.st_size > 0) {
--
2.42.0
More information about the ldapvi
mailing list