summaryrefslogtreecommitdiff
path: root/pimd/pim_assert.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-06-13 19:30:51 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-06-19 19:04:53 -0400
commit43b8ca995b8ae5ea0e08ae74cdc0cf68cfa0feef (patch)
tree0ce41245847fe6a9b3b9672affbbbc4197a41498 /pimd/pim_assert.c
parent67e42128db3c380e8b8067da164675c282a1dca5 (diff)
lib: Do not blindly set the _read and _write pointers to NULL
Adding a read with the address of the thread pointer we want to use will allow lib/thread.c to properly handle your thread pointers. Instead we were setting the pointer to NULL before we passed into the _read and _write thread functions. Remove the NULL pointer set and just let thread.c handle everything. vty_stdio_resume and vty_read would blindly add read and write which would cause vty_event() to drop the thread pointer. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_assert.c')
0 files changed, 0 insertions, 0 deletions