summaryrefslogtreecommitdiff
path: root/src/UriFile.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhsoting.net>2018-07-09 12:18:10 +0200
committerJörg Frings-Fürst <debian@jff-webhsoting.net>2018-07-09 12:18:10 +0200
commitf10130df30ed342e6064aa60d2a56f5107385d6b (patch)
tree202b9eac5bfd92ebfcb3b6402d68141032054eb0 /src/UriFile.c
parent12af0f6afae11029a608e33b98047aea4e82da7d (diff)
parent86fee0b29894235a4a9a5e64afe0a643841f500f (diff)
Merge branch 'release/debian/0.8.5-2'debian/0.8.5-2
Diffstat (limited to 'src/UriFile.c')
-rw-r--r--src/UriFile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/UriFile.c b/src/UriFile.c
index 9cf788f..332f6a9 100644
--- a/src/UriFile.c
+++ b/src/UriFile.c
@@ -2,7 +2,7 @@
* uriparser - RFC 3986 URI parsing library
*
* Copyright (C) 2007, Weijia Song <songweijia@gmail.com>
- * Copyright (C) 2007, Sebastian Pipping <webmaster@hartwork.org>
+ * Copyright (C) 2007, Sebastian Pipping <sebastian@pipping.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -83,7 +83,7 @@ static URI_INLINE int URI_FUNC(FilenameToUriString)(const URI_CHAR * filename,
is_windows_network = (filename[0] == _UT('\\')) && (filename[1] == _UT('\\'));
absolute = fromUnix
? (filename[0] == _UT('/'))
- : ((filename[0] != _UT('\0')) && (filename[1] == _UT(':'))
+ : (((filename[0] != _UT('\0')) && (filename[1] == _UT(':')))
|| is_windows_network);
if (absolute) {