Skip to content

Commit

Permalink
Merge pull request laruence#54 from wenjun1055/patch-2
Browse files Browse the repository at this point in the history
Fixed bug (typo)
  • Loading branch information
laruence committed Sep 11, 2013
2 parents 84fa69d + c656974 commit 2c11a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requests/yaf_request_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ yaf_request_t * yaf_request_http_instance(yaf_request_t *this_ptr, char *request
if (Z_TYPE_P(uri) != IS_NULL) {
zval *rewrited = yaf_request_query(YAF_GLOBAL_VARS_SERVER, ZEND_STRL("IIS_WasUrlRewritten") TSRMLS_CC);
zval *unencode = yaf_request_query(YAF_GLOBAL_VARS_SERVER, ZEND_STRL("UNENCODED_URL") TSRMLS_CC);
if (Z_TYPE_P(rewrited) = IS_LONG
if (Z_TYPE_P(rewrited) == IS_LONG
&& Z_LVAL_P(rewrited) == 1
&& Z_TYPE_P(unencode) == IS_STRING
&& Z_STRLEN_P(unencode) > 0) {
Expand Down

0 comments on commit 2c11a50

Please sign in to comment.