From 243d3ac7885fd0a4794ca47f8968bd7ca6f56370 Mon Sep 17 00:00:00 2001 From: Leonardo Taccari Date: Sat, 17 Nov 2018 14:14:17 +0100 Subject: [PATCH] Fix an accidental inverted condition --- ind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ind.c b/ind.c index 4e78f3d..90639e3 100644 --- a/ind.c +++ b/ind.c @@ -429,7 +429,7 @@ printelem(int fd, Elems *el, char *file, char *base, char *addr, char *port) * to point to some file or directory. */ if (el->e[2][0] != '/' - && strncmp(el->e[2], "URL:", 4) + && !strncmp(el->e[2], "URL:", 4) && el->e[0][0] != 'i' && el->e[0][0] != '2' && el->e[0][0] != '3' -- 2.19.1