diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-10 21:40:36 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-10 21:40:36 +0000 |
commit | d73eb218f9ddb1f68b1244483eb16db3e15427f1 (patch) | |
tree | 4ff1338edeb4032d96ca860821074ea717d31801 /main/http.c | |
parent | 190edd24e377bc80baef2872d604ec76493b4d6b (diff) |
1.6.1.4 changes
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.6.1.4@211674 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/http.c')
-rw-r--r-- | main/http.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/http.c b/main/http.c index c520560ac..ce3ef08eb 100644 --- a/main/http.c +++ b/main/http.c @@ -137,10 +137,10 @@ static uint32_t manid_from_vars(struct ast_variable *sid) { while (sid && strcmp(sid->name, "mansession_id")) sid = sid->next; - - if (!sid || sscanf(sid->value, "%x", &mngid) != 1) + + if (!sid || sscanf(sid->value, "%30x", &mngid) != 1) return 0; - + return mngid; } |