Skip to content

Commit

Permalink
MFH.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Esser committed May 23, 2004
1 parent c50ef2e commit e384ab1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main/rfc1867.c
Expand Up @@ -1031,19 +1031,19 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler)
php_mb_gpc_encoding_converter(&filename, &str_len, 1, NULL, NULL TSRMLS_CC);
}
s = php_mb_strrchr(filename, '\\' TSRMLS_CC);
if (tmp = php_mb_strrchr(filename, '/' TSRMLS_CC)) {
if ((tmp = php_mb_strrchr(filename, '/' TSRMLS_CC)) > s) {
s = tmp;
}
num_vars--;
} else {
s = strrchr(filename, '\\');
if (tmp = strrchr(filename, '/')) {
if ((tmp = strrchr(filename, '/')) > s) {
s = tmp;
}
}
#else
s = strrchr(filename, '\\');
if (tmp = strrchr(filename, '/')) {
if ((tmp = strrchr(filename, '/')) > s) {
s = tmp;
}
#endif
Expand Down

0 comments on commit e384ab1

Please sign in to comment.