aboutsummaryrefslogtreecommitdiffstats
path: root/community/asterisk-chan-dongle/fix-autodisc.patch
blob: 58dd7514bf679cb7b97c749355a60fb4616fb222 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- asterisk-chan-dongle-e3bce3c1d43cec1e4f8e548b4d3880e289747b24.orig/pdiscovery.c
+++ asterisk-chan-dongle-e3bce3c1d43cec1e4f8e548b4d3880e289747b24/pdiscovery.c
@@ -466,7 +466,7 @@
 			case STATE_CR1:
 				if(*str == '\n')
 					state++;
-				else
+				else if(*str != '\r')
 					state = STATE_BEGIN;
 				break;
 			case STATE_LF1: