[asterisk-commits] mmichelson: branch 10-digiumphones r361263 - /branches/10-digiumphones/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 4 16:25:09 CDT 2012


Author: mmichelson
Date: Wed Apr  4 16:25:05 2012
New Revision: 361263

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=361263
Log:
Only add the device portion of a hint when adding a hintdevice.


Modified:
    branches/10-digiumphones/main/pbx.c

Modified: branches/10-digiumphones/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/branches/10-digiumphones/main/pbx.c?view=diff&rev=361263&r1=361262&r2=361263
==============================================================================
--- branches/10-digiumphones/main/pbx.c (original)
+++ branches/10-digiumphones/main/pbx.c Wed Apr  4 16:25:05 2012
@@ -1069,7 +1069,7 @@
 		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);




More information about the asterisk-commits mailing list