cvs: pecl /smtp smtp.c

From: Date: Fri, 05 Dec 2003 08:20:26 +0000
Subject: cvs: pecl /smtp smtp.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-559@lists.php.net to get a copy of this message
fmk Fri Dec 5 03:20:26 2003 EDT Modified files: /pecl/smtp smtp.c Log: Better name for the lable Index: pecl/smtp/smtp.c diff -u pecl/smtp/smtp.c:1.4 pecl/smtp/smtp.c:1.5 --- pecl/smtp/smtp.c:1.4 Fri Dec 5 03:17:43 2003 +++ pecl/smtp/smtp.c Fri Dec 5 03:20:26 2003 @@ -188,7 +188,7 @@ convert_to_string_ex(server_addr); server_port = SMTP_DEFAULT_PORT; if(gethostname(helo_host, 256) == -1) - goto HERROR; + goto HANDLE_ERROR; break; case 2: @@ -197,7 +197,7 @@ convert_to_long_ex(port); server_port = (unsigned short int)Z_LVAL_PP(port); if(gethostname(helo_host, 256) == -1) - goto HERROR; + goto HANDLE_ERROR; break; case 3: @@ -219,13 +219,13 @@ if(smtp == FALSE){ efree(smtp); - goto HERROR; + goto HANDLE_ERROR; } ZEND_REGISTER_RESOURCE(return_value, smtp, le_smtp); return; -HERROR: +HANDLE_ERROR: efree(helo_host); RETURN_FALSE; }

« previous php.pecl.cvs (#559) next »