RIOT-OS/RIOT — pull request #2025 by OlegHahm (2014-11-18 12:21:27+00:00)
Title: net: socket: fix for a341821ad89d57f43e719310368cef51660ef266

The former fix for socket initialization was broken. This fixes the
"fix" by using the right exit condition for the loops.