From f385e8cacbc574e213b0805a8d383373f29a8058 Mon Sep 17 00:00:00 2001 From: Neelesh Gupta Date: Mon, 28 Oct 2013 12:45:08 +0530 Subject: lib/url: Export is_url() function Signed-off-by: Neelesh Gupta Signed-off-by: Jeremy Kerr --- lib/url/url.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/url/url.c') diff --git a/lib/url/url.c b/lib/url/url.c index 8a3d0db..700f87c 100644 --- a/lib/url/url.c +++ b/lib/url/url.c @@ -22,7 +22,6 @@ #define _GNU_SOURCE #include -#include #include #include "log/log.h" @@ -228,7 +227,7 @@ fail: return NULL; } -static bool is_url(const char *str) +bool is_url(const char *str) { return strstr(str, "://") != NULL; } -- cgit v1.2.1