aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/encoding/payloads/configuration_attribute.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-09-04 14:58:05 +0200
committerMartin Willi <martin@strongswan.org>2009-09-04 15:00:19 +0200
commitb9b8a98f472aed6c60dd992ad97776eaa188ea9e (patch)
tree23d2a960db77b4e30ab985c9a00bd99d0950ef0e /src/charon/encoding/payloads/configuration_attribute.c
parent323f9f990fb28583bfaaaad04f9934c0f0e62052 (diff)
downloadstrongswan-b9b8a98f472aed6c60dd992ad97776eaa188ea9e.tar.bz2
strongswan-b9b8a98f472aed6c60dd992ad97776eaa188ea9e.tar.xz
remove spaces within tabs (\t( )+\t)
Diffstat (limited to 'src/charon/encoding/payloads/configuration_attribute.c')
-rw-r--r--src/charon/encoding/payloads/configuration_attribute.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/charon/encoding/payloads/configuration_attribute.c b/src/charon/encoding/payloads/configuration_attribute.c
index fce8453c8..f19cb98f6 100644
--- a/src/charon/encoding/payloads/configuration_attribute.c
+++ b/src/charon/encoding/payloads/configuration_attribute.c
@@ -123,45 +123,45 @@ static status_t verify(private_configuration_attribute_t *this)
case INTERNAL_IP4_NBNS:
case INTERNAL_ADDRESS_EXPIRY:
case INTERNAL_IP4_DHCP:
- if (this->attribute_length != 0 && this->attribute_length != 4)
- {
+ if (this->attribute_length != 0 && this->attribute_length != 4)
+ {
failed = TRUE;
- }
+ }
break;
case INTERNAL_IP4_SUBNET:
- if (this->attribute_length != 0 && this->attribute_length != 8)
- {
+ if (this->attribute_length != 0 && this->attribute_length != 8)
+ {
failed = TRUE;
- }
+ }
break;
case INTERNAL_IP6_ADDRESS:
case INTERNAL_IP6_SUBNET:
- if (this->attribute_length != 0 && this->attribute_length != 17)
- {
+ if (this->attribute_length != 0 && this->attribute_length != 17)
+ {
failed = TRUE;
- }
+ }
break;
case INTERNAL_IP6_DNS:
case INTERNAL_IP6_NBNS:
case INTERNAL_IP6_DHCP:
- if (this->attribute_length != 0 && this->attribute_length != 16)
- {
+ if (this->attribute_length != 0 && this->attribute_length != 16)
+ {
failed = TRUE;
- }
+ }
break;
case SUPPORTED_ATTRIBUTES:
- if (this->attribute_length % 2)
- {
+ if (this->attribute_length % 2)
+ {
failed = TRUE;
- }
+ }
break;
case APPLICATION_VERSION:
- /* any length acceptable */
- break;
+ /* any length acceptable */
+ break;
default:
DBG1(DBG_ENC, "unknown attribute type %N",
configuration_attribute_type_names, this->attribute_type);
- break;
+ break;
}
if (failed)