Re: cvs: php4 /ext/sybase php_sybase_db.c
| From: | Sascha Schumann | Date: | Tue, 15 Apr 2003 01:28:08 +0000 |
| Subject: | Re: cvs: php4 /ext/sybase php_sybase_db.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-20282@lists.php.net to get a copy of this message | ||
Please refactor the code a bit and use goto for error
handling. That will extremely simplify the process of
maintaining this piece of code.
E.g.
err2:
dbloginfree(sybase.login);
err:
efree(hashed_details);
dbclose(sybase.link);
RETURN_FALSE;
- Sascha