/[cvs]/ccvs/src/root.c
ViewVC logotype

Diff of /ccvs/src/root.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.114 by dprice, Thu May 26 17:48:06 2005 UTC revision 1.115 by dprice, Wed Aug 31 16:51:02 2005 UTC
# Line 279  delconfig (Node *n) Line 279  delconfig (Node *n)
279    
280    
281  void  void
282  root_allow_add (const char *arg)  root_allow_add (const char *arg, const char *configPath)
283  {  {
284      Node *n;      Node *n;
285    
286      if (!root_allow) root_allow = getlist();      if (!root_allow) root_allow = getlist();
287      n = getnode();      n = getnode();
288      n->key = xstrdup (arg);      n->key = xstrdup (arg);
289      n->data = parse_config (arg);      n->data = parse_config (arg, configPath);
290      n->delproc = delconfig;      n->delproc = delconfig;
291      addnode (root_allow, n);      addnode (root_allow, n);
292  }  }
# Line 329  error 0 Server configuration missing --a Line 329  error 0 Server configuration missing --a
329   *   The config associated with ARG.   *   The config associated with ARG.
330   */   */
331  struct config *  struct config *
332  get_root_allow_config (const char *arg)  get_root_allow_config (const char *arg, const char *configPath)
333  {  {
334      Node *n;      Node *n;
335    
# Line 341  get_root_allow_config (const char *arg) Line 341  get_root_allow_config (const char *arg)
341          n = NULL;          n = NULL;
342    
343      if (n) return n->data;      if (n) return n->data;
344      return parse_config (arg);      return parse_config (arg, configPath);
345  }  }
346    
347    

Legend:
Removed from v.1.114  
changed lines
  Added in v.1.115

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26