summaryrefslogtreecommitdiff
path: root/sysutils/ldapvi/files/patch-ldapvi.c
blob: 1939f9a11aed19405a2005455d5dd77b79a9cf18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./ldapvi.c.orig	2012-07-09 23:43:28.000000000 +0200
+++ ./ldapvi.c	2012-07-09 23:43:50.000000000 +0200
@@ -1465,7 +1465,7 @@
 	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) {