[svn-commits] dvossel: branch dvossel/awesomehooks r287383 - /team/dvossel/awesomehooks/inc...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Sep 17 10:55:17 CDT 2010
Author: dvossel
Date: Fri Sep 17 10:55:13 2010
New Revision: 287383
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=287383
Log:
fixes a typo and updates the documentation
Modified:
team/dvossel/awesomehooks/include/asterisk/awesomehook.h
Modified: team/dvossel/awesomehooks/include/asterisk/awesomehook.h
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/awesomehooks/include/asterisk/awesomehook.h?view=diff&rev=287383&r1=287382&r2=287383
==============================================================================
--- team/dvossel/awesomehooks/include/asterisk/awesomehook.h (original)
+++ team/dvossel/awesomehooks/include/asterisk/awesomehook.h Fri Sep 17 10:55:13 2010
@@ -86,10 +86,10 @@
if (event == AST_AWESOMEHOOK_EVENT_WRITE) {
ast_log(LOG_NOTICE, "YAY we received a frame in the write direction, Type: %d\n", frame->frametype)
- ast_awesomehook_detach(chan, id);
+ ast_awesomehook_detach(chan, id); // the channel is guaranteed to be locked during this function call.
} else if (event == AST_AWESOMEHOOK_EVENT_READ) {
ast_log(LOG_NOTICE, "YAY we received a frame in the read direction: Type: %d\n", frame->frametype);
- ast_awesomehook_detach(chan, id);
+ ast_awesomehook_detach(chan, id); // the channel is guaranteed to be locked during this function call.
}
return frame;
@@ -176,7 +176,7 @@
* \note This function should be used to clean up any pointers pointing to the
* awesomehook structure as the awesomehook will be freed immediately afterwards.
*
- * \param datastore, The datastore pointer provided at awesomehook initilization. This
+ * \param datastore, The datastore pointer provided at awesomehook initialization. This
* is a good place to clean up any state data allocated for the awesomehook stored in this
* pointer.
*/
More information about the svn-commits
mailing list