1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 04:05:40 +03:00
aports/community/asterisk-chan-dongle/fix-autodisc.patch
2021-06-17 14:33:12 +00:00

11 lines
211 B
Diff

--- a/pdiscovery.c
+++ b/pdiscovery.c
@@ -465,7 +465,7 @@
case STATE_CR1:
if(*str == '\n')
state++;
- else
+ else if(*str != '\r')
state = STATE_BEGIN;
break;
case STATE_LF1: