From f0f991d840b00e43f09bfa363ac1e7350098c180 Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Sun, 14 Dec 2008 23:53:10 -0500 Subject: opkg: output state change messages only at info verbosity level git-svn-id: http://opkg.googlecode.com/svn/trunk@47 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/opkg_download.c') diff --git a/libopkg/opkg_download.c b/libopkg/opkg_download.c index bbd6efe..6cce64a 100644 --- a/libopkg/opkg_download.c +++ b/libopkg/opkg_download.c @@ -213,7 +213,7 @@ int opkg_download_pkg(opkg_conf_t *conf, pkg_t *pkg, const char *dir) } sprintf_alloc (&pkgid, "%s;%s;%s;", pkg->name, pkg->version, pkg->architecture); - opkg_set_current_state (OPKG_STATE_DOWNLOADING_PKG, pkgid); + opkg_set_current_state (conf, OPKG_STATE_DOWNLOADING_PKG, pkgid); free (pkgid); sprintf_alloc(&url, "%s/%s", pkg->src->value, pkg->filename); @@ -227,7 +227,7 @@ int opkg_download_pkg(opkg_conf_t *conf, pkg_t *pkg, const char *dir) err = opkg_download(conf, url, pkg->local_filename); free(url); - opkg_set_current_state (OPKG_STATE_NONE, NULL); + opkg_set_current_state (conf, OPKG_STATE_NONE, NULL); return err; } -- cgit v0.9.1