summaryrefslogtreecommitdiffstats
path: root/plugins/uriparser/UriFile.c
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-05-31 13:32:09 (GMT)
committerAndreas Baumann <mail@andreasbaumann.cc>2018-05-31 13:32:09 (GMT)
commit3b6cde1cc05e4b36bf8053fc55383baa34954291 (patch)
treebada2530c0ab6c89eef89ebfdf0056f4ac3519b1 /plugins/uriparser/UriFile.c
parenteacaad30433607fbdcf742aad4ff51aad5ddf749 (diff)
downloadmonitoring-plugins-3b6cde1.tar.gz
updated bundled version of uriparser to 0.8.5
Diffstat (limited to 'plugins/uriparser/UriFile.c')
-rw-r--r--plugins/uriparser/UriFile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/uriparser/UriFile.c b/plugins/uriparser/UriFile.c
index 9cf788f..332f6a9 100644
--- a/plugins/uriparser/UriFile.c
+++ b/plugins/uriparser/UriFile.c
@@ -2,7 +2,7 @@
2 * uriparser - RFC 3986 URI parsing library 2 * uriparser - RFC 3986 URI parsing library
3 * 3 *
4 * Copyright (C) 2007, Weijia Song <songweijia@gmail.com> 4 * Copyright (C) 2007, Weijia Song <songweijia@gmail.com>
5 * Copyright (C) 2007, Sebastian Pipping <webmaster@hartwork.org> 5 * Copyright (C) 2007, Sebastian Pipping <sebastian@pipping.org>
6 * All rights reserved. 6 * All rights reserved.
7 * 7 *
8 * Redistribution and use in source and binary forms, with or without 8 * 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,
83 is_windows_network = (filename[0] == _UT('\\')) && (filename[1] == _UT('\\')); 83 is_windows_network = (filename[0] == _UT('\\')) && (filename[1] == _UT('\\'));
84 absolute = fromUnix 84 absolute = fromUnix
85 ? (filename[0] == _UT('/')) 85 ? (filename[0] == _UT('/'))
86 : ((filename[0] != _UT('\0')) && (filename[1] == _UT(':')) 86 : (((filename[0] != _UT('\0')) && (filename[1] == _UT(':')))
87 || is_windows_network); 87 || is_windows_network);
88 88
89 if (absolute) { 89 if (absolute) {