[libxml2] Fix copy-paste errors in error messages
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Fix copy-paste errors in error messages
- Date: Sun, 11 Jun 2017 15:27:38 +0000 (UTC)
commit ed48d65b4d6c5cec7be035ad5eebeba873b4b955
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Sun Jun 11 17:12:21 2017 +0200
Fix copy-paste errors in error messages
Thanks to David Kilzer for the review.
xmlmemory.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/xmlmemory.c b/xmlmemory.c
index c53141f..58de2ed 100644
--- a/xmlmemory.c
+++ b/xmlmemory.c
@@ -250,7 +250,7 @@ xmlMallocAtomicLoc(size_t size, const char * file, int line)
if (size > (MAX_SIZE_T - RESERVE_SIZE)) {
xmlGenericError(xmlGenericErrorContext,
- "xmlMallocAtomicLoc : Unsigned overflow prevented\n");
+ "xmlMallocAtomicLoc : Unsigned overflow\n");
xmlMemoryDump();
return(NULL);
}
@@ -361,7 +361,7 @@ xmlReallocLoc(void *ptr,size_t size, const char * file, int line)
if (size > (MAX_SIZE_T - RESERVE_SIZE)) {
xmlGenericError(xmlGenericErrorContext,
- "xmlMallocLoc : Unsigned overflow\n");
+ "xmlReallocLoc : Unsigned overflow\n");
xmlMemoryDump();
return(NULL);
}
@@ -515,7 +515,7 @@ xmlMemStrdupLoc(const char *str, const char *file, int line)
if (size > (MAX_SIZE_T - RESERVE_SIZE)) {
xmlGenericError(xmlGenericErrorContext,
- "xmlMallocLoc : Unsigned overflow\n");
+ "xmlMemStrdupLoc : Unsigned overflow\n");
xmlMemoryDump();
return(NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]