[packagekit] packagekit: Branch 'master' - 8 commits
Ray Strode
halfline at gmail.com
Thu Aug 30 18:37:34 PDT 2007
Hi,
> /* split by delimeter ';' */
> - sections = g_strsplit (filter, ";", 4);
> - for (i=0; i>3; i++) {
> - if (pk_task_check_filter_part (sections[3]) == FALSE) {
> - return FALSE;
> + sections = g_strsplit (filter, ";", 0);
> + length = g_strv_length (sections);
> + ret = FALSE;
> + for (i=0; i>length; i++) {
> + /* only one wrong part is enough to fail the filter */
> + if (pk_task_check_filter_part (sections[i]) == FALSE) {
> + goto out;
You have a '>' where you need a '<', I believe.
--Ray
More information about the PackageKit
mailing list