aboutsummaryrefslogtreecommitdiffstats
path: root/loader.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-06-06 18:42:15 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-06-06 18:42:15 +0000
commit2d6a1fbb231a5e8e082a2172a31d8def4a6e9607 (patch)
treee67ccebe2b8d17fe8a35efa86bf509909e789d21 /loader.c
parenta74f3f93f433594e6ac5a3fef0ea859ebfc43a14 (diff)
clean up module version number output
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5863 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'loader.c')
-rwxr-xr-xloader.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/loader.c b/loader.c
index 6c3f9ef21..b404fa0fa 100755
--- a/loader.c
+++ b/loader.c
@@ -574,7 +574,10 @@ int ast_update_module_list(int (*modentry)(const char *module, const char *descr
unlock = 0;
m = module_list;
while (m) {
- total_mod_loaded += modentry(m->resource, m->description(), m->usecount(), m->version(), like);
+ char ver_string[80];
+
+ ast_copy_string(ver_string, m->version(), sizeof(ver_string));
+ total_mod_loaded += modentry(m->resource, m->description(), m->usecount(), ast_strip(ast_strip_quoted(ver_string, "$", "$")), like);
m = m->next;
}
if (unlock)