projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c63855a
)
- make unknown elements less fatal
author
Michael Schroeder
<mls@suse.de>
Thu, 20 Nov 2008 10:09:47 +0000
(10:09 +0000)
committer
Michael Schroeder
<mls@suse.de>
Thu, 20 Nov 2008 10:09:47 +0000
(10:09 +0000)
tools/repo_repomdxml.c
patch
|
blob
|
history
diff --git
a/tools/repo_repomdxml.c
b/tools/repo_repomdxml.c
index
0501fb4
..
9f9074f
100644
(file)
--- a/
tools/repo_repomdxml.c
+++ b/
tools/repo_repomdxml.c
@@
-211,9
+211,8
@@
startElement(void *userData, const char *name, const char **atts)
if (sw->from != pd->state)
{
-#if
1
+#if
0
fprintf(stderr, "into unknown: %s (from: %d)\n", name, pd->state);
- exit( 1 );
#endif
return;
}
@@
-297,12
+296,12
@@
endElement(void *userData, const char *name)
/* Pool *pool = pd->pool; */
#if 0
-
fprintf(stderr, "end
: %s\n", name);
+
fprintf(stderr, "endElement
: %s\n", name);
#endif
if (pd->depth != pd->statedepth)
{
pd->depth--;
-#if
1
+#if
0
fprintf(stderr, "back from unknown %d %d %d\n", pd->state, pd->depth, pd->statedepth);
#endif
return;