mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 14:03:55 +01:00
get_socket(i) returns NULL, when no specific socket is found. Without an appropriate check for NULL, the current state of the code leads to a segfault. destiny: added parens destiny: continuing the loop makes more sense than returning at first sight of NULL