3 ms·
Note that the problem was not missing curly braces, it was the missing line sock->sk = NULL; The curly braces were added as well because the single statem
by gvb 8y ago
Note that the problem was not missing curly braces, it was the missing line
sock->sk = NULL;
The curly braces were added as well because the single statement "if" turned into a two statement block.