diff -r 21fba5183768 -r b5b5a6a96d91 sources/network/udpsocket.cpp --- a/sources/network/udpsocket.cpp Mon Dec 15 02:15:09 2014 +0200 +++ b/sources/network/udpsocket.cpp Mon Dec 15 03:09:26 2014 +0200 @@ -98,7 +98,7 @@ if (length == -1) { if (errno != EWOULDBLOCK) - m_error.sprintf ("recvfrom error: %s", strerror (errno)); + m_error = String ("recvfrom error: ") + strerror (errno); return false; }