diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-07-14 17:19:00 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-21 20:26:02 -0500 |
| commit | 59ba0ac3e6631f1eebc35bdc1581c17ee43bc7f0 (patch) | |
| tree | ef4d5f540dd4edd6e63760ea633b964295ff7718 /pimd/pim_assert.c | |
| parent | 2ddab288813b4bf66fff05505143b8f9f7982fbc (diff) | |
pimd: Fix use of 0 for NULL
pimd uses allot of 0's to represent NULL. Not a good
programming practice.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_assert.c')
| -rw-r--r-- | pimd/pim_assert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_assert.c b/pimd/pim_assert.c index d3df6a1102..590a7e1da5 100644 --- a/pimd/pim_assert.c +++ b/pimd/pim_assert.c @@ -552,7 +552,7 @@ static int on_assert_timer(struct thread *t) src_str, grp_str, ifp->name); } - ch->t_ifassert_timer = 0; + ch->t_ifassert_timer = NULL; switch (ch->ifassert_state) { case PIM_IFASSERT_I_AM_WINNER: |
