提交 06aa1072 编写于 作者: S Stephen Hemminger 提交者: David S. Miller

[NETFILTER]: nf_nat_snmp: sparse warning

Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: NPatrick McHardy <kaber@trash.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 edc26f7a
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册