diff options
author | ng0 <ng0@n0.is> | 2019-09-09 19:17:18 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-09 19:17:18 +0000 |
commit | 483b0139a218a5f8a8311bda3eb23bcd88f57688 (patch) | |
tree | d9e7a0f5053cdaa1a720485b93e9927f08466958 /src/transport/transport-testing-filenames.c | |
parent | ec472b1aae122481f4f7e760e5242753eba9bf87 (diff) |
Remove win32 and cygwin support
Diffstat (limited to 'src/transport/transport-testing-filenames.c')
-rw-r--r-- | src/transport/transport-testing-filenames.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/transport/transport-testing-filenames.c b/src/transport/transport-testing-filenames.c index 865907007..8d493864e 100644 --- a/src/transport/transport-testing-filenames.c +++ b/src/transport/transport-testing-filenames.c @@ -40,25 +40,6 @@ extract_filename(const char *file) char *filename = NULL; char *res; -#if WINDOWS - if ((strlen(pch) >= 3) && pch[1] == ':') - { - if (NULL != strstr(pch, "\\")) - { - pch = strtok(pch, "\\"); - while (pch != NULL) - { - pch = strtok(NULL, "\\"); - if (pch != NULL) - filename = pch; - } - } - } - if (filename != NULL) - pch = filename; /* If we miss the next condition, filename = pch will - * not harm us. - */ -#endif if (NULL != strstr(pch, "/")) { pch = strtok(pch, "/"); |