From: Giovanni Maruzzelli Date: Wed, 9 May 2012 08:49:11 +0000 (+0200) Subject: skypopen: sk balances gives you how many credits you have, no more errors X-Git-Tag: v1.2.0~444 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dbafc38b3e5797c0096fc65a4f81d9b0e483272c;p=thirdparty%2Ffreeswitch.git skypopen: sk balances gives you how many credits you have, no more errors --- diff --git a/src/mod/endpoints/mod_skypopen/mod_skypopen.c b/src/mod/endpoints/mod_skypopen/mod_skypopen.c index f489cc613a..08d815a7b1 100644 --- a/src/mod/endpoints/mod_skypopen/mod_skypopen.c +++ b/src/mod/endpoints/mod_skypopen/mod_skypopen.c @@ -2533,9 +2533,7 @@ SWITCH_STANDARD_API(sk_function) globals.SKYPOPEN_INTERFACES[tmp_i].message + 30); } } - } - - if (!strcasecmp(argv[0], "list")) { + } else if (!strcasecmp(argv[0], "list")) { int i; unsigned int ib = 0; unsigned int ib_failed = 0;