projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
883479f
)
use %p to printf pointers since %x doesn't work properly on tru64 for this
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 30 Jun 2005 13:30:23 +0000
(13:30 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 30 Jun 2005 13:30:23 +0000
(13:30 +0000)
(and besides, we should be using the same %-code for all pointers)
lib/memdebug.c
patch
|
blob
|
history
diff --git
a/lib/memdebug.c
b/lib/memdebug.c
index
d56c637
..
2b6c55c
100644
(file)
--- a/
lib/memdebug.c
+++ b/
lib/memdebug.c
@@
-201,7
+201,7
@@
void *curl_dorealloc(void *ptr, size_t wantedsize,
mem=(struct memdebug *)(Curl_crealloc)(mem, size);
if(logfile)
- fprintf(logfile, "MEM %s:%d realloc(
0x%x
, %zd) = %p\n",
+ fprintf(logfile, "MEM %s:%d realloc(
%p
, %zd) = %p\n",
source, line, ptr, wantedsize, mem?mem->mem:NULL);
if(mem) {