diff options
author | ewt <devnull@localhost> | 1996-01-08 19:15:22 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1996-01-08 19:15:22 +0000 |
commit | 89381ecafa8c3c79470169e51ac81126beb41d58 (patch) | |
tree | 459ee3600eb404305abac9d0820a49b0253ea9bc /rpmio | |
parent | ab74a09ce50ea73e2004116eb8c1d05c8338ea5c (diff) | |
download | rpm-89381ecafa8c3c79470169e51ac81126beb41d58.tar.gz rpm-89381ecafa8c3c79470169e51ac81126beb41d58.tar.bz2 rpm-89381ecafa8c3c79470169e51ac81126beb41d58.zip |
If not error callback is registered, the error gets printed to stderr
CVS patchset: 163
CVS date: 1996/01/08 19:15:22
Diffstat (limited to 'rpmio')
-rw-r--r-- | rpmio/rpmerr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rpmio/rpmerr.c b/rpmio/rpmerr.c index e20bdc6f5..38000aad6 100644 --- a/rpmio/rpmerr.c +++ b/rpmio/rpmerr.c @@ -46,5 +46,8 @@ void error(int code, char *format, ...) if (errorCallback) { errorCallback(); + } else { + fputs(errorRec.string, stderr); + fputs("\n", stderr); } } |