cvs: /php3/functions recode.c

From: Date: Mon, 22 Nov 1999 10:00:03 +0000
Subject: cvs: /php3/functions recode.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-12911@lists.php.net to get a copy of this message
kk Mon Nov 22 05:00:03 1999 EDT Modified files: /php3/functions recode.c Log: Ok, this is cleaner... Index: php3/functions/recode.c diff -u php3/functions/recode.c:1.2 php3/functions/recode.c:1.3 --- php3/functions/recode.c:1.2 Sun Nov 21 18:57:30 1999 +++ php3/functions/recode.c Mon Nov 22 05:00:02 1999 @@ -27,7 +27,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: recode.c,v 1.2 1999/11/21 23:57:30 kk Exp $ */ +/* $Id: recode.c,v 1.3 1999/11/22 10:00:02 kk Exp $ */ #include "php.h" @@ -107,7 +107,7 @@ void php3_info_recode(void) { - php3_printf("$Revision: 1.2 $\n"); + php3_printf("$Revision: 1.3 $\n"); } /* {{{ proto string recode_string(string request, string str) @@ -145,11 +145,9 @@ goto error_exit; } - if (request) - recode_delete_request(request); - + RETVAL_STRING(r, 1); free(r); - RETURN_STRING(r, 1); /* I didn't free r and used RETURN_STRING(r, 0) and it segfaulted. */ + return; error_exit: if (request)

« previous php.dev (#12911) next »