summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Skopal <riffraff@php.net>1999-09-05 00:58:59 +0000
committerJakub Skopal <riffraff@php.net>1999-09-05 00:58:59 +0000
commit8c2f752c3d86062e710facb0c03d40a96509ea50 (patch)
tree05b4ee8b4b14af53682fe0421a4737162caed768
parent06545c33644f0f07eaa6bb6e958bda4afb3adc47 (diff)
downloadphp-git-8c2f752c3d86062e710facb0c03d40a96509ea50.tar.gz
C++ comment fix... sorry.
-rw-r--r--ext/standard/string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index cac506283e..cd1c5dc6df 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -1374,8 +1374,8 @@ PHPAPI char *php_addslashes(char *str, int length, int *new_length, int should_f
for (source=str,end=source+length,target=new_str; (c = *source) || source<end; source++) {
switch(c) {
case '\0':
- *target++ = '\\'; // what if somebody escapes "foo\0"."12bar"?
- *target++ = '0'; // we have to add \000 instead of just \0.
+ *target++ = '\\'; /* what if somebody escapes "foo\0"."12bar"? */
+ *target++ = '0'; /* we have to add \000 instead of just \0. */
*target++ = '0';
*target++ = '0';
break;