From eb69adf86363bdf5a492aff0a264091346817f7e Mon Sep 17 00:00:00 2001 From: "graham.gower" Date: Wed, 9 Dec 2009 06:05:29 +0000 Subject: [PATCH] Make the "update" command work. Previously, you had to type "updd..." For a test program, it can't have seen much testing. git-svn-id: http://opkg.googlecode.com/svn/trunk@475 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- tests/libopkg_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libopkg_test.c b/tests/libopkg_test.c index 70a924c..1d1f7b6 100644 --- a/tests/libopkg_test.c +++ b/tests/libopkg_test.c @@ -172,7 +172,7 @@ main (int argc, char **argv) break; case 'u': - if (argv[1][3] == 'd') + if (argv[1][2] == 'd') { err = opkg_update_package_lists (progress_callback, "Updating..."); printf ("\nopkg_update_package_lists returned %d (%s)\n", err, errors[err]); -- 2.25.1