[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-addons-commits
Subject:    [asterisk-addons-commits] mnicholson: branch
From:       SVN commits to the Asterisk addons project
Date:       2009-01-26 17:27:49
Message-ID: E1LRVFY-0008Lb-1r () lists ! digium ! com
[Download RAW message or body]

Author: mnicholson
Date: Mon Jan 26 11:27:49 2009
New Revision: 742

URL: http://svn.digium.com/svn-view/asterisk-addons?view=rev&rev=742
Log:
more rfcomm_read() fixes

Modified:
    team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c

Modified: team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c
URL: http://svn.digium.com/svn-view/asterisk-addons/team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c?view=diff&rev=742&r1=741&r2=742
 ==============================================================================
--- team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c (original)
+++ team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c Mon Jan 26 11:27:49 \
2009 @@ -1080,7 +1080,7 @@
 				got_cr = 0;
 
 			/* insert a '\r', because we ignored one above */
-			if (have_msg && in_count >= count) {
+			if (have_msg && in_count <= count) {
 				in_count++;
 				*buf++ = '\r';
 			}
@@ -1090,7 +1090,7 @@
 		}
 
 		/* store this character, if there is space in the buffer */
-		if (have_msg && in_count >= count) {
+		if (have_msg && in_count <= count) {
 			in_count++;
 			*buf++ = c;
 		}


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-addons-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-addons-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic