[asterisk-commits] russell: trunk r75709 - /trunk/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 18 14:50:22 CDT 2007


Author: russell
Date: Wed Jul 18 14:50:21 2007
New Revision: 75709

URL: http://svn.digium.com/view/asterisk?view=rev&rev=75709
Log:
convert some lines indented with spaces to tabs

Modified:
    trunk/channels/chan_iax2.c

Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=75709&r1=75708&r2=75709
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Wed Jul 18 14:50:21 2007
@@ -4419,18 +4419,18 @@
 	}
 	AST_LIST_UNLOCK(&active_list);
 	ast_cli(fd, "Dynamic Threads:\n");
-        AST_LIST_LOCK(&dynamic_list);
-        AST_LIST_TRAVERSE(&dynamic_list, thread, list) {
+	AST_LIST_LOCK(&dynamic_list);
+	AST_LIST_TRAVERSE(&dynamic_list, thread, list) {
 #ifdef DEBUG_SCHED_MULTITHREAD
-                ast_cli(fd, "Thread %d: state=%d, update=%d, actions=%d, func ='%s'\n",
-                        thread->threadnum, thread->iostate, (int)(t - thread->checktime), thread->actions, thread->curfunc);
+		ast_cli(fd, "Thread %d: state=%d, update=%d, actions=%d, func ='%s'\n",
+			thread->threadnum, thread->iostate, (int)(t - thread->checktime), thread->actions, thread->curfunc);
 #else
-                ast_cli(fd, "Thread %d: state=%d, update=%d, actions=%d\n",
-                        thread->threadnum, thread->iostate, (int)(t - thread->checktime), thread->actions);
+		ast_cli(fd, "Thread %d: state=%d, update=%d, actions=%d\n",
+			thread->threadnum, thread->iostate, (int)(t - thread->checktime), thread->actions);
 #endif
 		dynamiccount++;
-        }
-        AST_LIST_UNLOCK(&dynamic_list);
+	}
+	AST_LIST_UNLOCK(&dynamic_list);
 	ast_cli(fd, "%d of %d threads accounted for with %d dynamic threads\n", threadcount, iaxthreadcount, dynamiccount);
 	return RESULT_SUCCESS;
 }
@@ -7966,14 +7966,13 @@
 				break;	
 			case IAX_COMMAND_TXMEDIA:
 				if (iaxs[fr->callno]->transferring == TRANSFER_READY) {
-                                        AST_LIST_LOCK(&frame_queue);
-                                        AST_LIST_TRAVERSE(&frame_queue, cur, list) {
-                                                /* Cancel any outstanding frames and start anew */
-                                                if ((fr->callno == cur->callno) && (cur->transfer)) {
-                                                        cur->retries = -1;
-                                                }
-                                        }
-                                        AST_LIST_UNLOCK(&frame_queue);
+					AST_LIST_LOCK(&frame_queue);
+					AST_LIST_TRAVERSE(&frame_queue, cur, list) {
+						/* Cancel any outstanding frames and start anew */
+						if ((fr->callno == cur->callno) && (cur->transfer))
+							cur->retries = -1;
+					}
+					AST_LIST_UNLOCK(&frame_queue);
 					/* Start sending our media to the transfer address, but otherwise leave the call as-is */
 					iaxs[fr->callno]->transferring = TRANSFER_MEDIAPASS;
 				}
@@ -10586,7 +10585,7 @@
 		pthread_cancel(thread->threadid);
 	}
 	AST_LIST_TRAVERSE_SAFE_END
-			AST_LIST_UNLOCK(&dynamic_list);
+	AST_LIST_UNLOCK(&dynamic_list);
 	
 	/* Wait for threads to exit */
 	while(0 < iaxactivethreadcount)




More information about the asterisk-commits mailing list