diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-05 09:07:39 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-05 09:07:39 +0200 |
commit | 729d468fdf196fb674127e053ec8a058858655f5 (patch) | |
tree | dbb2136b8a7d1f29f6a8b4a2455d05974beb32a7 /openbsc | |
parent | b37ce4c5a419e872558f51eac713168bb5b54277 (diff) |
nat: No need to match \r\n when parsing the C: N
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/nat/bsc_mgcp_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |