diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-09-21 19:58:55 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-09-21 19:58:55 +0200 |
commit | b16c75d98c57b8f1efa26ab6eae35431c04c4c1e (patch) | |
tree | 4348ceac0e673a1742565cf0f291a8d540774668 /src/Common/Exception.cpp | |
parent | 84f69d7aacef531c0ad809d7511c7ab7bce7469c (diff) | |
download | mad-b16c75d98c57b8f1efa26ab6eae35431c04c4c1e.tar mad-b16c75d98c57b8f1efa26ab6eae35431c04c4c1e.zip |
Printf-artige Funktion logf zum Logger hinzugef?gt
Diffstat (limited to 'src/Common/Exception.cpp')
-rw-r--r-- | src/Common/Exception.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Exception.cpp b/src/Common/Exception.cpp index dc04f7d..9366fe7 100644 --- a/src/Common/Exception.cpp +++ b/src/Common/Exception.cpp @@ -43,7 +43,7 @@ std::string Exception::strerror() const { case NOT_FINISHED: return ret + "Not finished"; case INTERNAL_ERRNO: - return ret + "Internal error: " + std::strerror(subCode); + return ret + std::strerror(subCode); case INTERNAL_GNUTLS: return ret + "GnuTLS error: " + gnutls_strerror(subCode); case INVALID_ADDRESS: |