aboutsummaryrefslogtreecommitdiffstats
path: root/xmlmemory.c
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2004-09-18 04:52:08 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2004-09-18 04:52:08 +0000
commit13dfa87e91a32c347c5c9c655252609f552e9424 (patch)
tree3783dc817c55c35982032c696dd79f3c3c83df7e /xmlmemory.c
parent7a5e0dd1fc73020a1093a30d2c7d5229190369ff (diff)
downloadandroid_external_libxml2-13dfa87e91a32c347c5c9c655252609f552e9424.tar.gz
android_external_libxml2-13dfa87e91a32c347c5c9c655252609f552e9424.tar.bz2
android_external_libxml2-13dfa87e91a32c347c5c9c655252609f552e9424.zip
added the routine xmlNanoHTTPContentLength to the external API
* nanohttp.c, include/libxml/nanohttp.h: added the routine xmlNanoHTTPContentLength to the external API (bug151968). * parser.c: fixed unnecessary internal error message (bug152060); also changed call to strncmp over to xmlStrncmp. * encoding.c: fixed compilation warning (bug152307). * tree.c: fixed segfault in xmlCopyPropList (bug152368); fixed a couple of compilation warnings. * HTMLtree.c, debugXML.c, xmlmemory.c: fixed a few compilation warnings; no change to logic.
Diffstat (limited to 'xmlmemory.c')
-rw-r--r--xmlmemory.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlmemory.c b/xmlmemory.c
index 88d191b9..821e3b94 100644
--- a/xmlmemory.c
+++ b/xmlmemory.c
@@ -644,11 +644,11 @@ xmlMemDisplay(FILE *fp)
case MALLOC_ATOMIC_TYPE:fprintf(fp,"atomicmalloc() in ");break;
case REALLOC_ATOMIC_TYPE:fprintf(fp,"atomicrealloc() in ");break;
default:
- fprintf(fp,"Unknow memory block, corruped maybe");
+ fprintf(fp,"Unknown memory block, may be corrupted");
xmlMutexUnlock(xmlMemMutex);
return;
}
- if (p->mh_file != NULL) fprintf(fp,"%s(%d)", p->mh_file, p->mh_line);
+ if (p->mh_file != NULL) fprintf(fp,"%s(%u)", p->mh_file, p->mh_line);
if (p->mh_tag != MEMTAG)
fprintf(fp," INVALID");
nb++;
@@ -750,7 +750,7 @@ xmlMemShow(FILE *fp, int nr ATTRIBUTE_UNUSED)
default:fprintf(fp," ??? in ");break;
}
if (p->mh_file != NULL)
- fprintf(fp,"%s(%d)", p->mh_file, p->mh_line);
+ fprintf(fp,"%s(%u)", p->mh_file, p->mh_line);
if (p->mh_tag != MEMTAG)
fprintf(fp," INVALID");
xmlMemContentShow(fp, p);