[asterisk-addons-commits] mnicholson: branch mnicholson/chan-mobile-refactor r761 - /team/mnicholson/ch...

SVN commits to the Asterisk addons project asterisk-addons-commits at lists.digium.com
Wed Jan 28 16:00:32 CST 2009


Author: mnicholson
Date: Wed Jan 28 16:00:31 2009
New Revision: 761

URL: http://svn.digium.com/svn-view/asterisk-addons?view=rev&rev=761
Log:
fix bug in rfcomm_read from last commit

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=761&r1=760&r2=761
==============================================================================
--- team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c (original)
+++ team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c Wed Jan 28 16:00:31 2009
@@ -1121,7 +1121,7 @@
 				got_cr = 0;
 
 			/* insert a '\r', because we ignored one above */
-			if (have_msg && in_count < count) {
+			if (in_count < count) {
 				in_count++;
 				*buf++ = '\r';
 			}
@@ -1137,7 +1137,7 @@
 		}
 
 		/* store this character, if there is space in the buffer */
-		if (have_msg && in_count < count) {
+		if (in_count < count) {
 			in_count++;
 			*buf++ = c;
 		}




More information about the asterisk-addons-commits mailing list