summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorbviktor <bviktor@outlook.com>2012-10-08 13:29:38 -0700
committerbviktor <bviktor@outlook.com>2012-10-08 13:29:38 -0700
commit77fb21c5d5db895218aea6fd7e258062702faba6 (patch)
treede0ed7bd3dddefdf66593061bc60c9f5916f5c9f /src/common
parent8df11c030c7f9e2a018817ba8b12e7b4c1b78042 (diff)
parent5f60820ebac778bbfd3d73adb094123f7731ba97 (diff)
Merge pull request #142 from RichardHitt/master
Fix "Fix URL Detection"
Diffstat (limited to 'src/common')
-rw-r--r--src/common/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/url.c b/src/common/url.c
index 3de99d1f..ee29a8a8 100644
--- a/src/common/url.c
+++ b/src/common/url.c
@@ -207,7 +207,7 @@ url_check_word (char *word, int len)
 #ifdef WIN32
 	if ((len > 1 && word[0] == '\\') || (len > 2 && (((word[0] >= 'A' && word[0] <= 'Z') || (word[0] >= 'a' && word[0] <= 'z')) && word[1] == ':')))
 #else
-	if (len > 1 && word[0] != '/')
+	if (len > 1 && word[0] == '/')
 #endif
 	{
 		return WORD_PATH;