Skip to content

Commit

Permalink
[NETFILTER]: nf_nat_snmp: sparse warning
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Feb 1, 2008
1 parent edc26f7 commit 06aa107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/netfilter/nf_nat_snmp_basic.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ static unsigned char asn1_eoc_decode(struct asn1_ctx *ctx, unsigned char *eoc)
{
unsigned char ch;

if (eoc == 0) {
if (eoc == NULL) {
if (!asn1_octet_decode(ctx, &ch))
return 0;

Expand Down

0 comments on commit 06aa107

Please sign in to comment.