SIDN / spin

SPIN Core Software
https://spin.sidnlabs.nl
GNU General Public License v2.0
77 stars 9 forks source link

spind_conntrack.c: handle error case properly #48

Closed cschutijser closed 5 years ago

cschutijser commented 5 years ago

In the original code, this error was handled by calling err(3). err(3) prints a message and then exits. When the call to err(3) is replaced with a call to fprintf(3), we have to make sure we do not continue executing the normal code path.