From 810dc193b7b07531a98243ec0513e95cef2ec0fc Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Wed, 4 Apr 2012 21:25:05 +0000 Subject: [PATCH] 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 --- main/pbx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);