[asterisk-commits] anthonyl: branch anthonyl/skinny-redux r48241 - /team/anthonyl/skinny-redux/c...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Dec 4 13:12:47 MST 2006


Author: anthonyl
Date: Mon Dec  4 14:12:46 2006
New Revision: 48241

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48241
Log:
fixed a small typo

Modified:
    team/anthonyl/skinny-redux/channels/chan_skinny.c

Modified: team/anthonyl/skinny-redux/channels/chan_skinny.c
URL: http://svn.digium.com/view/asterisk/team/anthonyl/skinny-redux/channels/chan_skinny.c?view=diff&rev=48241&r1=48240&r2=48241
==============================================================================
--- team/anthonyl/skinny-redux/channels/chan_skinny.c (original)
+++ team/anthonyl/skinny-redux/channels/chan_skinny.c Mon Dec  4 14:12:46 2006
@@ -1394,7 +1394,7 @@
 		return -1;
 	}
 	
-	if (letohl(req->len > SKINNY_MAX_PACKET || letohl(req->len) < 0)) {
+	if (letohl(req->len) > SKINNY_MAX_PACKET || letohl(req->len) < 0) {
 		ast_log(LOG_WARNING, "Transmit: the legnth of the request is out of bounds\n");
 		free(req);
 		return -1;



More information about the asterisk-commits mailing list