diff options
author | Christian Pointner <equinox@anytun.org> | 2008-05-20 13:16:52 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-05-20 13:16:52 +0000 |
commit | 64fd1fe78ec19feb8350eb709e85901b5688ae28 (patch) | |
tree | 4edf0cf7c35687a55592e5297dabde4362b76c75 /src/PracticalSocket.cpp | |
parent | fixed bad default @ anyrtpproxy control-socket (diff) |
bugfix with strerror_r - still not working but at least not using uninitialized data
Diffstat (limited to 'src/PracticalSocket.cpp')
-rw-r--r-- | src/PracticalSocket.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/PracticalSocket.cpp b/src/PracticalSocket.cpp index 3ff286f..e08cac0 100644 --- a/src/PracticalSocket.cpp +++ b/src/PracticalSocket.cpp @@ -83,6 +83,7 @@ SocketException::SocketException(const string &message, bool inclSysMsg) if (inclSysMsg) { userMessage.append(": "); char buf[STERROR_TEXT_MAX]; + buf[0] = 0; strerror_r(errno, buf, STERROR_TEXT_MAX); userMessage.append(buf); } |