[svn-commits] qwell: branch 1.6.1 r246463 - /branches/1.6.1/main/channel.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Feb 12 13:08:23 CST 2010


Author: qwell
Date: Fri Feb 12 13:08:20 2010
New Revision: 246463

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

Modified:
    branches/1.6.1/main/channel.c

Modified: branches/1.6.1/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.1/main/channel.c?view=diff&rev=246463&r1=246462&r2=246463
==============================================================================
--- branches/1.6.1/main/channel.c (original)
+++ branches/1.6.1/main/channel.c Fri Feb 12 13:08:20 2010
@@ -5669,13 +5669,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 svn-commits mailing list