diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-11-05 21:56:49 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-11-05 21:56:49 +0100 |
commit | dad76a582880c2a8c8dec095b47e8b61ecd27fe9 (patch) | |
tree | ac3033c63354c5ce7625caeae3eb22eeb71048fe /src | |
parent | d78c869cffcae8f52ccfd6ceb4e67d8a99d6e1b3 (diff) | |
download | strongswan-dad76a582880c2a8c8dec095b47e8b61ecd27fe9.tar.bz2 strongswan-dad76a582880c2a8c8dec095b47e8b61ecd27fe9.tar.xz |
fixed debug output
Diffstat (limited to 'src')
-rw-r--r-- | src/libimcv/plugins/imv_os/imv_os_database.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/libimcv/plugins/imv_os/imv_os_database.c b/src/libimcv/plugins/imv_os/imv_os_database.c index a2be4330f..50de3b766 100644 --- a/src/libimcv/plugins/imv_os/imv_os_database.c +++ b/src/libimcv/plugins/imv_os/imv_os_database.c @@ -94,8 +94,6 @@ METHOD(imv_os_database_t, check_packages, status_t, } e->destroy(e); - DBG1(DBG_IMV, "'%s': pid = %d", product, pid); - while (package_enumerator->enumerate(package_enumerator, &name, &version)) { /* Convert package name chunk to a string */ @@ -116,7 +114,7 @@ METHOD(imv_os_database_t, check_packages, status_t, } if (!e->enumerate(e, &gid)) { - /* not found in database vor any product - skip */ + /* package not present in database for any product - skip */ count_not_found++; e->destroy(e); continue; @@ -171,6 +169,7 @@ METHOD(imv_os_database_t, check_packages, status_t, } else { + /* package not present in database for this product - skip */ count_not_found++; } free(package); @@ -178,8 +177,8 @@ METHOD(imv_os_database_t, check_packages, status_t, } free(product); - DBG1(DBG_IMV, "processed %d packages: %d ok, %d no match, %d not found", - count, count_ok, count_no_match, count_not_found); + DBG1(DBG_IMV, "processed %d packages: %d no match, %d ok, %d not found", + count, count_no_match, count_ok, count_not_found); return status; } |