Module: sip-router
Branch: master
Commit: 9683a7937dceb0a5e112c1b635c54fed87b7baa4
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9683a79…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Tue Jul 13 20:40:14 2010 +0200
kex: print the git hash instead of the svn hash
---
modules_k/kex/mi_core.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules_k/kex/mi_core.c b/modules_k/kex/mi_core.c
index 241b0b6..36f5b93 100644
--- a/modules_k/kex/mi_core.c
+++ b/modules_k/kex/mi_core.c
@@ -144,8 +144,8 @@ static struct mi_root *mi_version(struct mi_root *cmd, void *param)
if (node==0)
goto error;
- node = add_mi_node_child( rpl, 0, MI_SSTR("SVN"), SVNREVISION,
- sizeof(SVNREVISION)-1);
+ node = add_mi_node_child( rpl, 0, MI_SSTR("GIT"), (char*)repo_hash,
+ strlen(repo_hash));
if (node==0)
goto error;