fix whitespacing causing a warning when compiling. In this case braces are not neccessary.

This commit is contained in:
Isaac Connor 2017-01-11 14:25:12 -05:00
parent 8653822bff
commit 23b40da598
1 changed files with 2 additions and 2 deletions

View File

@ -739,8 +739,8 @@ Debug(5, "sendkeepalive %d, timeout %d, now: %d last: %d since: %d", sendKeepali
{ {
if ( buffer[0] == '$' ) if ( buffer[0] == '$' )
{ {
if ( buffer.size() < 4 ) if ( buffer.size() < 4 )
break; break;
unsigned char channel = buffer[1]; unsigned char channel = buffer[1];
unsigned short len = ntohs( *((unsigned short *)(buffer+2)) ); unsigned short len = ntohs( *((unsigned short *)(buffer+2)) );