[wtp] remove curly brackets from single line if statements

This commit is contained in:
Andreas Schultz
2016-03-26 17:25:15 +01:00
parent 067f920d81
commit 26415cae34
6 changed files with 8 additions and 16 deletions

View File

@ -27,9 +27,8 @@ void wtp_send_datacheck(void)
/* Change State Event request complete, get fragment packets */
wtp_free_reference_last_request();
capwap_packet_txmng_get_fragment_packets(txmngpacket, g_wtp.requestfragmentpacket, g_wtp.fragmentid);
if (g_wtp.requestfragmentpacket->count > 1) {
if (g_wtp.requestfragmentpacket->count > 1)
g_wtp.fragmentid++;
}
/* Free packets manager */
capwap_packet_txmng_free(txmngpacket);