summaryrefslogtreecommitdiff
path: root/sapi/caudium/caudium.c.rej
blob: 438b586f304e1944b208382604596d72973aab4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- sapi/caudium/caudium.c
+++ sapi/caudium/caudium.c
@@ -705,10 +705,10 @@
   if(THIS == NULL)
     Pike_error("Out of memory.");
 
-  get_all_args("PHP5.Interpreter->run", args, "%S%m%O%*", &script,
+  get_all_args("PHP7.Interpreter->run", args, "%S%m%O%*", &script,
 	       &request_data, &my_fd_obj, &done_callback);
   if(done_callback->type != PIKE_T_FUNCTION)
-    Pike_error("PHP5.Interpreter->run: Bad argument 4, expected function.\n");
+    Pike_error("PHP7.Interpreter->run: Bad argument 4, expected function.\n");
   add_ref(request_data);
   add_ref(my_fd_obj);
   add_ref(script);