diff options
author | Jörg Frings-Fürst <debian@jff-webhsoting.net> | 2018-03-21 22:11:07 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhsoting.net> | 2018-03-21 22:11:07 +0100 |
commit | c17b127df11ec779784c0b41e7e1500d041bd077 (patch) | |
tree | ec134b40f87f90bb6de54f3c2a15135cdb7f723b /src/UriFile.c | |
parent | 0ca227c7ff3be80a64807df27ffe7066cf447e09 (diff) | |
parent | 6d05f3e01a26fa416c9d0150163db20abac4b4ef (diff) |
Update upstream source from tag 'upstream/0.8.5'
Update to upstream version '0.8.5'
with Debian dir e35894d616fcb570578d09c39828e967d4b6b4b0
Diffstat (limited to 'src/UriFile.c')
-rw-r--r-- | src/UriFile.c | 4 |
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) { |