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);
     }