From: Mark Michelson Date: Wed, 4 Apr 2012 21:25:05 +0000 (+0000) Subject: Only add the device portion of a hint when adding a hintdevice. X-Git-Tag: 10.4.0-digiumphones-rc1~3^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=810dc193b7b07531a98243ec0513e95cef2ec0fc;p=thirdparty%2Fasterisk.git Only add the device portion of a hint when adding a hintdevice. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10-digiumphones@361263 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/pbx.c b/main/pbx.c index 7f3ac77bdb..5c2092a6f6 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -1069,7 +1069,7 @@ static int add_hintdevice(struct ast_hint *hint, const char *devicelist) return -1; } ast_str_set(&str, 0, "%s", devicelist); - parse = ast_str_buffer(str); + parse = parse_hint_device(str); while ((cur = strsep(&parse, "&"))) { devicelength = strlen(cur);