diff options
| author | 2015-12-22 21:01:07 +0000 | |
|---|---|---|
| committer | 2015-12-22 21:01:07 +0000 | |
| commit | 031569f0333ee5dfe71b6998d69e1770350ad51e (patch) | |
| tree | 0e5fcec7a8e52292139c50462cfd5fcd93b60950 /usr.sbin/tcpdump/print-gtp.c | |
| parent | update examples (diff) | |
| download | wireguard-openbsd-031569f0333ee5dfe71b6998d69e1770350ad51e.tar.xz wireguard-openbsd-031569f0333ee5dfe71b6998d69e1770350ad51e.zip | |
assign pointers to NULL rather than 0
Diffstat (limited to 'usr.sbin/tcpdump/print-gtp.c')
| -rw-r--r-- | usr.sbin/tcpdump/print-gtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-gtp.c b/usr.sbin/tcpdump/print-gtp.c index 444266bb52f..a18f679608e 100644 --- a/usr.sbin/tcpdump/print-gtp.c +++ b/usr.sbin/tcpdump/print-gtp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-gtp.c,v 1.8 2015/11/16 00:16:39 mmcc Exp $ */ +/* $OpenBSD: print-gtp.c,v 1.9 2015/12/22 21:01:07 mmcc Exp $ */ /* * Copyright (c) 2009, 2010 Joel Sing <jsing@openbsd.org> * @@ -882,7 +882,7 @@ void gtp_v1_print(const u_char *cp, u_int length, u_short sport, u_short dport) { struct gtp_v1_hdr *gh = (struct gtp_v1_hdr *)cp; - struct gtp_v1_hdr_ext *ghe = 0; + struct gtp_v1_hdr_ext *ghe = NULL; int nexthdr, hlen; u_char *p = (u_char *)cp; |
