From b16c75d98c57b8f1efa26ab6eae35431c04c4c1e Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 21 Sep 2008 19:58:55 +0200 Subject: Printf-artige Funktion logf zum Logger hinzugef?gt --- src/Common/Exception.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Common/Exception.cpp') 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: -- cgit v1.2.3