[svn-commits] rmudgett: trunk r422201 - in /trunk: ./ include/asterisk/sched.h main/sched.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Aug 27 19:16:03 CDT 2014
Author: rmudgett
Date: Wed Aug 27 19:16:01 2014
New Revision: 422201
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=422201
Log:
sched: Fix typo and whitespace change.
........
Merged revisions 422200 from http://svn.asterisk.org/svn/asterisk/branches/13
Modified:
trunk/ (props changed)
trunk/include/asterisk/sched.h
trunk/main/sched.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.
Modified: trunk/include/asterisk/sched.h
URL: http://svnview.digium.com/svn/asterisk/trunk/include/asterisk/sched.h?view=diff&rev=422201&r1=422200&r2=422201
==============================================================================
--- trunk/include/asterisk/sched.h (original)
+++ trunk/include/asterisk/sched.h Wed Aug 27 19:16:01 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: trunk/main/sched.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/sched.c?view=diff&rev=422201&r1=422200&r2=422201
==============================================================================
--- trunk/main/sched.c (original)
+++ trunk/main/sched.c Wed Aug 27 19:16:01 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