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:
6653d88
)
- we're a library, no output to stdout/stderr
author
Michael Schroeder
<mls@suse.de>
Tue, 21 Oct 2008 08:55:59 +0000
(08:55 +0000)
committer
Michael Schroeder
<mls@suse.de>
Tue, 21 Oct 2008 08:55:59 +0000
(08:55 +0000)
src/repodata.c
patch
|
blob
|
history
diff --git
a/src/repodata.c
b/src/repodata.c
index
71cd5cb
..
e083bea
100644
(file)
--- a/
src/repodata.c
+++ b/
src/repodata.c
@@
-958,22
+958,11
@@
dataiterator_init(Dataiterator *di, Pool *pool, Repo *repo, Id p, Id keyname, co
{
memset(di, 0, sizeof(*di));
di->pool = pool;
- if (!pool)
+ if (!pool
|| (repo && repo->pool != pool)
)
{
- fprintf(stderr, "dataiterator_init: no Pool given\n");
di->state = di_bye;
return -1;
}
- if (repo)
- {
- if (repo->pool != pool)
- {
- fprintf(stderr, "dataiterator_init: repo from different pool\n");
- di->state = di_bye;
- return -1;
- }
-
- }
if (match)
{
int error;