completely redundant.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45495
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
struct ast_config *cfg = ast_config_load("manager.conf");
int ret = -1; /* default: error return */
+ /*
+ * XXX there is no need to scan the config file again here,
+ * suffices to call ast_get_manager_by_name_locked() to fetch
+ * the user's entry.
+ */
+
if (!cfg)
return -1;
while ( (cat = ast_category_browse(cfg, cat)) ) {