cvs: pecl /imagick imagick.c
| From: | Michael C. Montero | Date: | Mon, 25 Aug 2003 18:02:30 +0000 |
| Subject: | cvs: pecl /imagick imagick.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-425@lists.php.net to get a copy of this message | ||
mcmontero Mon Aug 25 14:02:30 2003 EDT
Modified files:
/pecl/imagick imagick.c
Log:
_php_imagick_set_last_error: fixed bug with use of strlen() function.
Index: pecl/imagick/imagick.c
diff -u pecl/imagick/imagick.c:1.44 pecl/imagick/imagick.c:1.45
--- pecl/imagick/imagick.c:1.44 Thu Jul 17 14:04:05 2003
+++ pecl/imagick/imagick.c Mon Aug 25 14:02:29 2003
@@ -16,7 +16,7 @@
| Christian Stocker (chregu@bitflux.ch) |
+----------------------------------------------------------------------+
- $Id: imagick.c,v 1.44 2003/07/17 18:04:05 mcmontero Exp $
+ $Id: imagick.c,v 1.45 2003/08/25 18:02:29 mcmontero Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -5628,7 +5628,7 @@
}
IMAGICK_G( last_error_reason ) = ( char* )emalloc( strlen(
- reason + 1 ) ) ;
+ reason ) + 1 ) ;
if ( !IMAGICK_G( last_error_reason ) )
{
return ;