[asterisk-commits] qwell: branch 1.6.0 r246462 - /branches/1.6.0/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Feb 12 12:57:25 CST 2010


Author: qwell
Date: Fri Feb 12 12:57:21 2010
New Revision: 246462

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

Modified:
    branches/1.6.0/main/channel.c

Modified: branches/1.6.0/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.0/main/channel.c?view=diff&rev=246462&r1=246461&r2=246462
==============================================================================
--- branches/1.6.0/main/channel.c (original)
+++ branches/1.6.0/main/channel.c Fri Feb 12 12:57:21 2010
@@ -5642,13 +5642,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