From e5dc63f0e7361711731c35a5443e459eeaf36c91 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Tue, 18 Oct 2005 14:00:17 +0000 Subject: [PATCH] Removed wrong parameter SVN revision: 1517 --- src/elogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index a23ee54c..5eed838b 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -5430,7 +5430,7 @@ void rsputs_elcode(LOGBOOK * lbs, BOOL email_notify, const char *str) else sprintf(hattrib, "%s", attrib + 5); - } else if (strstr(attrib, "://", 7) == 0) /* add http:// if missing */ + } else if (strstr(attrib, "://") == 0) /* add http:// if missing */ sprintf(hattrib, "http://%s", attrib); else strlcpy(hattrib, attrib, sizeof(hattrib));