Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1691)

Unified Diff: third_party/libxml/src/testdict.c

Issue 1752223002: Roll libxml to 2.9.3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-cherry-pick fprintf formatting fix. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/libxml/src/testdict.c
diff --git a/third_party/libxml/src/testdict.c b/third_party/libxml/src/testdict.c
index 4e8581f85c3e7fef8488de1089140f3ae6db35d5..40bebd0582b68e41b89a5ab8c19be1007c1a4918 100644
--- a/third_party/libxml/src/testdict.c
+++ b/third_party/libxml/src/testdict.c
@@ -277,7 +277,7 @@ static int run_test2(xmlDictPtr parent) {
cur++;
*pref = 0;
tmp = xmlDictQLookup(dict, &prefix[0], cur);
- if (xmlDictQLookup(dict, &prefix[0], cur) != test2[i]) {
+ if (tmp != test2[i]) {
fprintf(stderr, "Failed lookup check for '%s':'%s'\n",
&prefix[0], cur);
ret = 1;
@@ -408,7 +408,7 @@ static int run_test1(void) {
cur++;
*pref = 0;
tmp = xmlDictQLookup(dict, &prefix[0], cur);
- if (xmlDictQLookup(dict, &prefix[0], cur) != test1[i]) {
+ if (tmp != test1[i]) {
fprintf(stderr, "Failed lookup check for '%s':'%s'\n",
&prefix[0], cur);
ret = 1;

Powered by Google App Engine
This is Rietveld 408576698