diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2016-10-07 01:06:24 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2016-10-07 01:13:49 +0200 |
commit | 432e16cb58c76762d6b512f256f7e07d5c3857f4 (patch) | |
tree | 38ce0a88cd04847f43adc0df6e00e2c2ff00ac80 /ext/gd/libgd/gd_xbm.c | |
parent | 8754b191f77efdbb3d5dd6440e0546589fb65473 (diff) | |
download | php-git-432e16cb58c76762d6b512f256f7e07d5c3857f4.tar.gz |
Unify error handling of bundled and external libgd
There's no need anymore to call an own error handler directly. Instead we
register our error handler and call libgd's error functions (which will
forward). We do this regardless of compiling with the bundled or an external
libgd.
Diffstat (limited to 'ext/gd/libgd/gd_xbm.c')
-rw-r--r-- | ext/gd/libgd/gd_xbm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/libgd/gd_xbm.c b/ext/gd/libgd/gd_xbm.c index b351814abb..68350d798a 100644 --- a/ext/gd/libgd/gd_xbm.c +++ b/ext/gd/libgd/gd_xbm.c @@ -149,7 +149,7 @@ gdImagePtr gdImageCreateFromXbm(FILE * fd) } } - php_gd_error("EOF before image was complete"); + gd_error("EOF before image was complete"); gdImageDestroy(im); return 0; } |