diff options
author | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:02:01 (EST) |
---|---|---|
committer | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:02:01 (EST) |
commit | a18410f02b51d400450c30d0b769b2f1e3e6736a (patch) | |
tree | 7c25d1f3f9ebff1b3c6b7a4fea34835ad8d18e70 /libopkg/opkg_download.c | |
parent | 349953207b609b8019c348ba326671c07035846b (diff) |
opkg: use opkg_message rather than printf in opkg_verify_file()
git-svn-id: http://opkg.googlecode.com/svn/trunk@56 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/opkg_download.c')
-rw-r--r-- | libopkg/opkg_download.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopkg/opkg_download.c b/libopkg/opkg_download.c index 25d177a..4160b97 100644 --- a/libopkg/opkg_download.c +++ b/libopkg/opkg_download.c @@ -293,7 +293,7 @@ int opkg_prepare_url_for_install(opkg_conf_t *conf, const char *url, char **name } int -opkg_verify_file (char *text_file, char *sig_file) +opkg_verify_file (opkg_conf_t *conf, char *text_file, char *sig_file) { #ifdef HAVE_GPGME int status = -1; @@ -336,7 +336,7 @@ opkg_verify_file (char *text_file, char *sig_file) return status; #else - printf ("Signature check skipped because GPG support was not enabled in this build\n"); + opkg_message (conf, OPKG_NOTICE, "Signature check for %s was skipped because GPG support was not enabled in this build\n"); return 0; #endif } |