Skip to content

Commit

Permalink
Removed unneeded check for MBSTR_ENC_TRANS
Browse files Browse the repository at this point in the history
  • Loading branch information
fmk committed Jul 3, 2002
1 parent 720f4b8 commit bda7548
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ext/mbstring/mbstring.c
Expand Up @@ -1310,7 +1310,6 @@ php_mbstr_encoding_handler(zval *arg, char *res, char *separator TSRMLS_DC)

}

#if defined(MBSTR_ENC_TRANS)
SAPI_POST_HANDLER_FUNC(php_mbstr_post_handler)
{
MBSTRG(http_input_identify_post) = mbfl_no_encoding_invalid;
Expand All @@ -1321,7 +1320,6 @@ SAPI_POST_HANDLER_FUNC(php_mbstr_post_handler)
MBSTRG(http_input_identify_post) = MBSTRG(http_input_identify);
}
}
#endif


#define IS_SJIS1(c) ((((c)>=0x81 && (c)<=0x9f) || ((c)>=0xe0 && (c)<=0xf5)) ? 1 : 0)
Expand Down

0 comments on commit bda7548

Please sign in to comment.