[SR-Dev] git:master: tm: define tm_ctx_get() to NULL if no WITH_TM_CTX

Daniel-Constantin Mierla miconda at gmail.com
Fri May 1 15:18:45 CEST 2009


Module: sip-router
Branch: master
Commit: c40ade61c41e33db7e7038a255a9561b60cd1693
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c40ade61c41e33db7e7038a255a9561b60cd1693

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Fri May  1 14:01:26 2009 +0200

tm: define tm_ctx_get() to NULL if no WITH_TM_CTX

---

 modules/tm/t_lookup.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/tm/t_lookup.h b/modules/tm/t_lookup.h
index 070add5..a9a98e6 100644
--- a/modules/tm/t_lookup.h
+++ b/modules/tm/t_lookup.h
@@ -141,7 +141,7 @@ void tm_ctx_set_branch_index(int v);
 
 #else
 
-#define tm_ctx_get()
+#define tm_ctx_get() NULL
 #define tm_ctx_init()
 #define tm_ctx_set_branch_index(v)
 




More information about the sr-dev mailing list