From: Andreas Steffen Date: Sun, 5 Dec 2010 14:16:15 +0000 (+0100) Subject: cosmetics X-Git-Tag: 4.5.1~413 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02f08ef91017946d3fdeb55f53c0ff0a03feefbe;p=thirdparty%2Fstrongswan.git cosmetics --- diff --git a/src/libcharon/plugins/tnccs_20/messages/pb_error_message.c b/src/libcharon/plugins/tnccs_20/messages/pb_error_message.c index 883facb0b7..99d7992138 100644 --- a/src/libcharon/plugins/tnccs_20/messages/pb_error_message.c +++ b/src/libcharon/plugins/tnccs_20/messages/pb_error_message.c @@ -38,7 +38,7 @@ typedef struct private_pb_error_message_t private_pb_error_message_t; #define ERROR_FLAG_NONE 0x00 #define ERROR_FLAG_FATAL (1<<7) -#define ERROR_RESERVED 0x00 +#define ERROR_RESERVED 0x0000 #define ERROR_HEADER_SIZE 8 /** @@ -110,9 +110,9 @@ METHOD(pb_tnc_message_t, build, void, /* create encoding by concatenating message header and message body */ free(this->encoding.ptr); - if(this->error_parameters) + if (this->error_parameters) { - if(this->error_code == PB_ERROR_VERSION_NOT_SUPPORTED) + if (this->error_code == PB_ERROR_VERSION_NOT_SUPPORTED) { /* Bad version */ writer->write_uint8(writer, this->error_parameters);