summaryrefslogtreecommitdiff
path: root/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'udp.c')
-rw-r--r--udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udp.c b/udp.c
index 1cd977b..4029943 100644
--- a/udp.c
+++ b/udp.c
@@ -43,8 +43,8 @@ unsigned short udp_sum_calc(unsigned char *src_addr,unsigned char *dst_addr, uns
/* Padding ? */
padd = (len % 2);
- if (padd){
- data[len]=0;
+ if (padd) {
+ data[len] = 0;
}
/* header+data */