diff options
Diffstat (limited to 'funcs/func_srv.c')
-rw-r--r-- | funcs/func_srv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_srv.c b/funcs/func_srv.c index 17d7d7a93..c8506b3a7 100644 --- a/funcs/func_srv.c +++ b/funcs/func_srv.c @@ -138,7 +138,7 @@ static int srv_query_read(struct ast_channel *chan, const char *cmd, char *data, ast_log(LOG_WARNING, "%s requires a service as an argument\n", cmd); return -1; } - + /* If they already called SRVQUERY for this service once, * we need to kill the old datastore. */ @@ -150,7 +150,7 @@ static int srv_query_read(struct ast_channel *chan, const char *cmd, char *data, ast_channel_datastore_remove(chan, datastore); ast_datastore_free(datastore); } - + if (!srv_datastore_setup(data, chan)) { return -1; } |