stanley-king 5 년 전
부모
커밋
eeb1b9d5ca
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      fcgi.c

+ 4 - 3
fcgi.c

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