X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Ftipc%2Fnode_subscr.c;h=afeea121d8be0c12796754f004d6a8028aec732a;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=cff4068cc755295c8fa2708abb8bdeac93d97d82;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/net/tipc/node_subscr.c b/net/tipc/node_subscr.c index cff4068cc..afeea121d 100644 --- a/net/tipc/node_subscr.c +++ b/net/tipc/node_subscr.c @@ -47,7 +47,7 @@ void tipc_nodesub_subscribe(struct node_subscr *node_sub, u32 addr, void *usr_handle, net_ev_handler handle_down) { - node_sub->node = NULL; + node_sub->node = 0; if (addr == tipc_own_addr) return; if (!tipc_addr_node_valid(addr)) {