Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv10239
Modified Files:
loader.c
Log Message:
clean up module version number output
Index: loader.c
===================================================================
RCS file: /usr/cvsroot/asterisk/loader.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- loader.c 6 Jun 2005 18:31:29 -0000 1.43
+++ loader.c 6 Jun 2005 18:42:15 -0000 1.44
@@ -574,7 +574,10 @@
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)
_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs