- fix some gcc warnings
[m6w6/ext-http] / http_functions.c
index 7612013c070aca40fb1c63f6c5bc14b28b547ea6..7eee1007ebf3e42300482978b81d568fea6f7c69 100644 (file)
@@ -674,7 +674,7 @@ PHP_FUNCTION(http_get_request_body)
        NO_ARGS;
 
        if (SUCCESS == http_get_request_body(&body, &length)) {
-               RETURN_STRING(body, (int) length, 0);
+               RETURN_STRINGL(body, (int) length, 0);
        } else {
                RETURN_NULL();
        }
@@ -689,7 +689,7 @@ PHP_FUNCTION(http_match_request_header)
 {
        char *header, *value;
        int header_len, value_len;
-       zend_bool match_case = 0, result = 0;
+       zend_bool match_case = 0;
 
        if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|b", &header, &header_len, &value, &value_len, &match_case)) {
                RETURN_FALSE;