diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-05-29 10:48:09 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-05-29 10:48:09 +0200 |
commit | a9f0feecb350a014788d1908171bcdfd626a4bd7 (patch) | |
tree | 41414c4b8395746bf2d136b6783e43479f9bb09b /src | |
parent | 3fa44f4e1ab23bf2c5fa3bb05228fc4f9682d8c5 (diff) | |
download | strongswan-a9f0feecb350a014788d1908171bcdfd626a4bd7.tar.bz2 strongswan-a9f0feecb350a014788d1908171bcdfd626a4bd7.tar.xz |
use singular form
Diffstat (limited to 'src')
-rw-r--r-- | src/libcharon/plugins/tnc_imc/tnc_imc.c | 4 | ||||
-rw-r--r-- | src/libcharon/plugins/tnc_imv/tnc_imv.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libcharon/plugins/tnc_imc/tnc_imc.c b/src/libcharon/plugins/tnc_imc/tnc_imc.c index d7fc2c65d..52e526604 100644 --- a/src/libcharon/plugins/tnc_imc/tnc_imc.c +++ b/src/libcharon/plugins/tnc_imc/tnc_imc.c @@ -124,8 +124,8 @@ METHOD(imc_t, set_message_types, void, memcpy(this->supported_types, supported_types, size); } *pos = '\0'; - DBG2(DBG_TNC, "IMC %u supports %u message types:%s", - this->id, type_count, buf); + DBG2(DBG_TNC, "IMC %u supports %u message type%s:%s", + this->id, type_count, (type_count == 1) ? "":"s", buf); /* lock the imc_t instance */ this->mutex->unlock(this->mutex); diff --git a/src/libcharon/plugins/tnc_imv/tnc_imv.c b/src/libcharon/plugins/tnc_imv/tnc_imv.c index fe628ee7e..f9cfc3417 100644 --- a/src/libcharon/plugins/tnc_imv/tnc_imv.c +++ b/src/libcharon/plugins/tnc_imv/tnc_imv.c @@ -125,8 +125,8 @@ METHOD(imv_t, set_message_types, void, memcpy(this->supported_types, supported_types, size); } *pos = '\0'; - DBG2(DBG_TNC, "IMV %u supports %u message types:%s", - this->id, type_count, buf); + DBG2(DBG_TNC, "IMV %u supports %u message type%s:%s", + this->id, type_count, (type_count == 1) ? "":"s", buf); /* lock the imv_t instance */ this->mutex->unlock(this->mutex); |