summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-05-22 00:36:27 +0000
committerKarl Heuer <kwzh@gnu.org>1996-05-22 00:36:27 +0000
commit4ca89555e3ecaa3f19877664e70b9d98a6e7b8c6 (patch)
tree63e263dff537a2eb00b165072bcd18ab9e2054a2 /src
parent53db280a0a82aeee73321ae05f5773ff7ce2234a (diff)
downloademacs-4ca89555e3ecaa3f19877664e70b9d98a6e7b8c6.tar.gz
(get_volume_info): Always update *pPath correctly, even if
UNC header is incomplete.
Diffstat (limited to 'src')
-rw-r--r--src/w32.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/w32.c b/src/w32.c
index 540974dad51..845203a774e 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -724,9 +724,6 @@ get_volume_info (const char * name, const char ** pPath)
}
while ( *name );
- if (slashes > 1)
- return FALSE;
-
*str++ = '\\';
*str = 0;
}