stanley-king 5 anos atrás
pai
commit
bf206fc932
1 arquivos alterados com 1 adições e 5 exclusões
  1. 1 5
      fcgi.c

+ 1 - 5
fcgi.c

@@ -102,12 +102,8 @@ PHP_MINFO_FUNCTION(fcgi)
 PHP_FUNCTION(confirm_fcgi_compiled)
 PHP_FUNCTION(confirm_fcgi_compiled)
 {
 {
 	zend_string     *arg;
 	zend_string     *arg;
-	char* ret = NULL;
-	int len = 0;
     if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &arg) == FAILURE) {
     if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &arg) == FAILURE) {
-        ret = "as this return char* data";
-        len = strlen(ret);
-        RETURN_STRING(ret,);
+        RETURN_STRING("as this return char* data");
     } else {
     } else {
     	RETURN_STR(arg);
     	RETURN_STR(arg);
     }	
     }