diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-06-06 18:42:15 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-06-06 18:42:15 +0000 |
commit | 6cbf69981d7efbdb6ff30fb3c7511f61573578d4 (patch) | |
tree | e67ccebe2b8d17fe8a35efa86bf509909e789d21 | |
parent | 43cf15e339a7dae7d601a6175d69550a13e61952 (diff) |
clean up module version number output
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5863 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-x | loader.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) |