[svn-commits] rmudgett: branch 13 r422200 - in /branches/13: include/asterisk/ main/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Aug 27 19:15:09 CDT 2014
Author: rmudgett
Date: Wed Aug 27 19:15:03 2014
New Revision: 422200
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=422200
Log:
sched: Fix typo and whitespace change.
Modified:
branches/13/include/asterisk/sched.h
branches/13/main/sched.c
Modified: branches/13/include/asterisk/sched.h
URL: http://svnview.digium.com/svn/asterisk/branches/13/include/asterisk/sched.h?view=diff&rev=422200&r1=422199&r2=422200
==============================================================================
--- branches/13/include/asterisk/sched.h (original)
+++ branches/13/include/asterisk/sched.h Wed Aug 27 19:15:03 2014
@@ -165,7 +165,7 @@
* A scheduler callback takes a pointer with callback data and
*
* \retval 0 if the callback should not be rescheduled
- * \retval non-zero if the callback should be scheduled agai
+ * \retval non-zero if the callback should be scheduled again
*/
typedef int (*ast_sched_cb)(const void *data);
#define AST_SCHED_CB(a) ((ast_sched_cb)(a))
Modified: branches/13/main/sched.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/main/sched.c?view=diff&rev=422200&r1=422199&r2=422200
==============================================================================
--- branches/13/main/sched.c (original)
+++ branches/13/main/sched.c Wed Aug 27 19:15:03 2014
@@ -496,9 +496,10 @@
ast_assert(s != NULL);
#else
{
- char buf[100];
- snprintf(buf, sizeof(buf), "s != NULL, id=%d", id);
- _ast_assert(0, buf, file, line, function);
+ char buf[100];
+
+ snprintf(buf, sizeof(buf), "s != NULL, id=%d", id);
+ _ast_assert(0, buf, file, line, function);
}
#endif
*last_id = id;
More information about the svn-commits
mailing list