From ff8b5e30a1d1ec68572136f7fb9346a00041f4e5 Mon Sep 17 00:00:00 2001
From: Alexandre Savard <alexandre.savard@savoirfairelinux.net>
Date: Thu, 17 Sep 2009 11:52:30 -0400
Subject: [PATCH] [#2176] Replace sfl.zid in .cache/sflphone instead of
 .sflphone

---
 sflphone-common/src/audio/audiortp/AudioZrtpSession.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sflphone-common/src/audio/audiortp/AudioZrtpSession.cpp b/sflphone-common/src/audio/audiortp/AudioZrtpSession.cpp
index 2b5fe9eb74..e0c4da8d17 100644
--- a/sflphone-common/src/audio/audiortp/AudioZrtpSession.cpp
+++ b/sflphone-common/src/audio/audiortp/AudioZrtpSession.cpp
@@ -47,8 +47,11 @@ namespace sfl {
             throw ZrtpZidException();
         }
 
-        std::string zidCompleteFilename = std::string(HOMEDIR) + DIR_SEPARATOR_STR + "." + PROGDIR + "/" + _zidFilename;
+        std::string zidCompleteFilename = std::string(HOMEDIR) + DIR_SEPARATOR_STR + ".cache" + DIR_SEPARATOR_STR + PROGDIR + "/" + _zidFilename;
         
+	_debug("Initialize Zid: try to find zid in: %s\n", zidCompleteFilename.c_str());
+
+
         if(initialize(zidCompleteFilename.c_str()) >= 0) {
             _debug("Register callbacks\n");
             setEnableZrtp(true);
-- 
GitLab