summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-03-04 09:29:06 +0000
committerMarcus Boerger <helly@php.net>2002-03-04 09:29:06 +0000
commitbe5908b06ceb91fc71621e99d84c14ca2877af2b (patch)
tree680f820afd7753a34f49ab2e35c39392508c469d
parent0c78c87f34b39273b8c37912de5b5d7381684cc2 (diff)
downloadphp-git-be5908b06ceb91fc71621e99d84c14ca2877af2b.tar.gz
-addition to last change: php_image.h must be included now
-rw-r--r--ext/exif/exif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/exif/exif.c b/ext/exif/exif.c
index 745a458d53..2f8893fc70 100644
--- a/ext/exif/exif.c
+++ b/ext/exif/exif.c
@@ -57,13 +57,13 @@
#if HAVE_EXIF
-#undef EXIF_DEBUG
+#define EXIF_DEBUG
#include "php_exif.h"
#include <math.h>
#include "php_ini.h"
#include "ext/standard/php_string.h"
-/* include "ext/standard/php_image.h" */
+#include "ext/standard/php_image.h"
#include "ext/standard/info.h"
typedef unsigned char uchar;
@@ -967,7 +967,7 @@ static void exif_process_IFD_TAG(image_info_type *ImageInfo, char *DirEntry, cha
/* Extract useful components of IFD */
#ifdef EXIF_DEBUG
- php_error(E_NOTICE,"process tag(x%04x=%s,%i): %s", Tag, exif_get_headername(Tag), ByteCount, Format==FMT_STRING?(ValuePtr?ValuePtr:"<no data>"):"<no string>");
+ php_error(E_NOTICE,"process tag(x%04x=%s,@x%04X+%i): %s", Tag, exif_get_headername(Tag), ValuePtr-OffsetBase, ByteCount, Format==FMT_STRING?(ValuePtr?ValuePtr:"<no data>"):"<no string>");
#endif
switch(Tag) {
case TAG_MAKE: