[sr-dev] git:master:263546f9: Merge pull request #996 from ffontaine/master

GitHub noreply at github.com
Tue Mar 14 20:13:21 CET 2017


Module: kamailio
Branch: master
Commit: 263546f932cb517caf6d15472350d58132e916d3
URL: https://github.com/kamailio/kamailio/commit/263546f932cb517caf6d15472350d58132e916d3

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: GitHub <noreply at github.com>
Date: 2017-03-14T20:13:17+01:00

Merge pull request #996 from ffontaine/master

Fix execinfo error in ims_dialog module

---

Modified: src/modules/ims_dialog/dlg_hash.c

---

Diff:  https://github.com/kamailio/kamailio/commit/263546f932cb517caf6d15472350d58132e916d3.diff
Patch: https://github.com/kamailio/kamailio/commit/263546f932cb517caf6d15472350d58132e916d3.patch

---

diff --git a/src/modules/ims_dialog/dlg_hash.c b/src/modules/ims_dialog/dlg_hash.c
index 999ae01..a7afdbc 100644
--- a/src/modules/ims_dialog/dlg_hash.c
+++ b/src/modules/ims_dialog/dlg_hash.c
@@ -17,7 +17,7 @@
 #include "dlg_profile.h"
 #include "dlg_handlers.h"
 #include "dlg_db_handler.h"
-#include <execinfo.h>
+//#include <execinfo.h>
 
 #define MAX_LDG_LOCKS  2048
 #define MIN_LDG_LOCKS  2
@@ -70,6 +70,7 @@ static int dlg_hash_size_out = 4096;
 		}\
 	}while(0)
 
+#if 0
 inline static int backtrace2str(char* buf, int size)
 {
         void* bt[32];
@@ -87,6 +88,7 @@ inline static int backtrace2str(char* buf, int size)
         }
         return 0;
 }
+#endif
 
 /*!
  * \brief Initialize the global dialog table




More information about the sr-dev mailing list