/* always returns string that must be freed by the caller in handler */
static struct server_command *get_cmd_ptr(char *name, char **handler)
{
/* always returns string that must be freed by the caller in handler */
static struct server_command *get_cmd_ptr(char *name, char **handler)
{
if (!strcmp(cmd->name, name)) {
if (handler)
*handler = para_strdup("para_server"); /* server commands */
if (!strcmp(cmd->name, name)) {
if (handler)
*handler = para_strdup("para_server"); /* server commands */