[pan2] changed return of CertStore :: build_cert_name



commit 8b3049d0cf6c6658f90b1cb9f8c0835d4845fe17
Author: Heinrich MÃller <henmull src gnome org>
Date:   Sun Apr 22 20:50:26 2012 +0200

    changed return of CertStore :: build_cert_name

 pan/data/cert-store.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pan/data/cert-store.cc b/pan/data/cert-store.cc
index 5986649..b994d6c 100644
--- a/pan/data/cert-store.cc
+++ b/pan/data/cert-store.cc
@@ -381,7 +381,7 @@ namespace pan
     char buf[2048];
     g_snprintf(buf,sizeof(buf),"%s%cssl_certs%c%s.pem",file::get_pan_home().c_str(),
                G_DIR_SEPARATOR,G_DIR_SEPARATOR, host.c_str());
-    return buf;
+    return std::string(buf);
   }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]