[asterisk-commits] russell: branch russell/ais r78675 - /team/russell/ais/main/event.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 8 14:48:07 CDT 2007


Author: russell
Date: Wed Aug  8 14:48:06 2007
New Revision: 78675

URL: http://svn.digium.com/view/asterisk?view=rev&rev=78675
Log:
Fix the function to retrieve the length of an event

Modified:
    team/russell/ais/main/event.c

Modified: team/russell/ais/main/event.c
URL: http://svn.digium.com/view/asterisk/team/russell/ais/main/event.c?view=diff&rev=78675&r1=78674&r2=78675
==============================================================================
--- team/russell/ais/main/event.c (original)
+++ team/russell/ais/main/event.c Wed Aug  8 14:48:06 2007
@@ -113,7 +113,7 @@
 {
 	size_t res;
 
-	res = event->event_len;
+	res = ntohs(event->event_len);
 
 	return res;
 }




More information about the asterisk-commits mailing list