[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

@ -59,9 +59,8 @@ static void wtp_send_invalid_request(struct capwap_packet_rxmng* rxmngpacket, ui
/* Unknown response complete, get fragment packets */
responsefragmentpacket = capwap_list_create();
capwap_packet_txmng_get_fragment_packets(txmngpacket, responsefragmentpacket, g_wtp.fragmentid);
if (responsefragmentpacket->count > 1) {
if (responsefragmentpacket->count > 1)
g_wtp.fragmentid++;
}
/* Free packets manager */
capwap_packet_txmng_free(txmngpacket);