From f1b3f188be7a7464cfde1e30a162878ff9a0924b Mon Sep 17 00:00:00 2001 From: graham.gower@gmail.com Date: Wed, 12 Oct 2011 23:24:10 -0400 Subject: Reverse the test for __dummy__ in the extra data. Problem pointed out by akostopou@gmail.com. This needs revisiting. git-svn-id: http://opkg.googlecode.com/svn/trunk@629 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg') diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c index 6160b79..11e7867 100644 --- a/libopkg/opkg_cmd.c +++ b/libopkg/opkg_cmd.c @@ -153,7 +153,7 @@ opkg_update_cmd(int argc, char **argv) src = (pkg_src_t *)iter->data; - if (src->extra_data && strcmp(src->extra_data, "__dummy__ ")) + if (src->extra_data && !strcmp(src->extra_data, "__dummy__ ")) continue; if (src->extra_data) /* debian style? */ -- cgit v0.9.1