diff options
Diffstat (limited to 'plugins/uriparser/UriFile.c')
-rw-r--r-- | plugins/uriparser/UriFile.c | 4 |
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) { |