[asterisk-commits] qwell: branch 1.6.2 r246464 - /branches/1.6.2/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Feb 12 13:08:53 CST 2010


Author: qwell
Date: Fri Feb 12 13:08:50 2010
New Revision: 246464

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=246464
Log:
Fix some silly formatting that made my head hurt.

Modified:
    branches/1.6.2/main/channel.c

Modified: branches/1.6.2/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/channel.c?view=diff&rev=246464&r1=246463&r2=246464
==============================================================================
--- branches/1.6.2/main/channel.c (original)
+++ branches/1.6.2/main/channel.c Fri Feb 12 13:08:50 2010
@@ -5697,13 +5697,13 @@
 #endif
 		if (!res)
 			ast_debug(3, "::::==== Channel %s was unlocked\n", chan->name);
-			if (res == EINVAL) {
-				ast_debug(3, "::::==== Channel %s had no lock by this thread. Failed unlocking\n", chan->name);
-			}
-		}
-		if (res == EPERM) {
-			/* We had no lock, so okay any way*/
-			ast_debug(4, "::::==== Channel %s was not locked at all \n", chan->name);
+		if (res == EINVAL) {
+			ast_debug(3, "::::==== Channel %s had no lock by this thread. Failed unlocking\n", chan->name);
+		}
+	}
+	if (res == EPERM) {
+		/* We had no lock, so okay any way*/
+		ast_debug(4, "::::==== Channel %s was not locked at all \n", chan->name);
 		res = 0;
 	}
 	return res;




More information about the asterisk-commits mailing list