From 729d468fdf196fb674127e053ec8a058858655f5 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 5 Apr 2010 09:07:39 +0200 Subject: nat: No need to match \r\n when parsing the C: N --- openbsc/src/nat/bsc_mgcp_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc') diff --git a/openbsc/src/nat/bsc_mgcp_utils.c b/openbsc/src/nat/bsc_mgcp_utils.c index 2b28305a8..74ef67bb5 100644 --- a/openbsc/src/nat/bsc_mgcp_utils.c +++ b/openbsc/src/nat/bsc_mgcp_utils.c @@ -249,7 +249,7 @@ int bsc_mgcp_extract_ci(const char *str) if (!res) return CI_UNUSED; - if (sscanf(res, "I: %d\r\n", &ci) != 1) + if (sscanf(res, "I: %d", &ci) != 1) return CI_UNUSED; return ci; } -- cgit v1.2.3