]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_nibblebill: move return statement inside odbc ifdef
authorMathieu Rene <mrene@avgs.ca>
Tue, 9 Jun 2009 13:50:11 +0000 (13:50 +0000)
committerMathieu Rene <mrene@avgs.ca>
Tue, 9 Jun 2009 13:50:11 +0000 (13:50 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13718 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_nibblebill/mod_nibblebill.c

index f74a742c4b58a738b080a023f71d01b925fa49a2..147b3a93e1d7ba11642f0d2a3f2e4c2cd7046d83 100644 (file)
@@ -363,9 +363,9 @@ static float get_balance(const char *billaccount)
 
                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,  "Retrieved current balance for account %s (balance = %f)\n", billaccount, balance);
        }
-
-#endif
+       
        return balance;
+#endif
 }
 
 /* This is where we actually charge the guy