git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@196 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2005-12-23 02:24:56 +00:00
parent 549d9ca93a
commit 32273a0c3f
6 changed files with 104 additions and 6 deletions

View File

@@ -57,9 +57,7 @@ char *arg = NULL;
return 1;
}
if ((arg = strchr(cmd, ' '))) {
*arg++ = '\0';
}
if ((api = loadable_module_get_api_interface(cmd))) {
char retbuf[512] = "";
api->function(arg, retbuf, sizeof(retbuf));