summaryrefslogtreecommitdiff
path: root/build/parsePrep.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-07-07 10:48:06 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-07-07 10:48:06 +0300
commit811436ec92fa874585552204fc9e4136e0b406c0 (patch)
treeded3118189c5c25906a3d1f04f54f0c027cd3c2c /build/parsePrep.c
parent7b95061d3b77d8e6b3c80e856b66f49b393511ba (diff)
downloadlibrpm-tizen-811436ec92fa874585552204fc9e4136e0b406c0.tar.gz
librpm-tizen-811436ec92fa874585552204fc9e4136e0b406c0.tar.bz2
librpm-tizen-811436ec92fa874585552204fc9e4136e0b406c0.zip
Kick out ftpStrerror() and related error code defines
- our url-retrieval error codes depend on the helper used which is configurable via macros so hardcoding eg curl codes wont work either - need to figure out something better, pass helper error messages through FD_t or something...
Diffstat (limited to 'build/parsePrep.c')
-rw-r--r--build/parsePrep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/parsePrep.c b/build/parsePrep.c
index 3fcd3abf0..c18945a34 100644
--- a/build/parsePrep.c
+++ b/build/parsePrep.c
@@ -180,7 +180,7 @@ static char *doUntar(rpmSpec spec, uint32_t c, int quietly)
if ((rc = urlGetFile(sp->fullSource, fn)) != 0) {
rpmlog(RPMLOG_ERR,
_("Couldn't download nosource %s: %s\n"),
- sp->fullSource, ftpStrerror(rc));
+ sp->fullSource);
return NULL;
}
}