summaryrefslogtreecommitdiff
path: root/net/linneighborhood/files/patch-utility.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/linneighborhood/files/patch-utility.c')
-rw-r--r--net/linneighborhood/files/patch-utility.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/net/linneighborhood/files/patch-utility.c b/net/linneighborhood/files/patch-utility.c
deleted file mode 100644
index 8ce3d9582a6b..000000000000
--- a/net/linneighborhood/files/patch-utility.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- src/utility.c.orig Sun Jun 9 09:58:43 2002
-+++ src/utility.c Thu Feb 13 09:56:06 2003
-@@ -16,6 +16,7 @@
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-+#include <sys/types.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>
- #include <stdio.h>
-@@ -421,9 +422,9 @@
- unsigned char path_exist (char *path)
- {
- DIR *dir;
--
- dir = opendir(path);
-- closedir(dir);
-+ if (dir)
-+ closedir(dir);
- return ( dir != NULL ) ? 1 : 0;
- }
-