From c0dfa140341cf9a848a6e5f926392623d03d2c28 Mon Sep 17 00:00:00 2001 From: "Jeffrey H. Johnson" Date: Sun, 23 May 2021 03:22:15 -0400 Subject: [PATCH] edit5.c: ensure GrabURL always returns a value --- source/edit5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/edit5.c b/source/edit5.c index 3cffa55..8768605 100644 --- a/source/edit5.c +++ b/source/edit5.c @@ -3412,7 +3412,7 @@ int iscrypted; struct urlstr *urlnew, *tmpurl, *prevurl = NULL; if (line == NULL) - return; + return 0; strmcpy(tmpbuf1, line, sizeof(tmpbuf1)); *tmpstr2 = '\0'; while (*tmpstr1) {