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

Diff of /ccvs/src/server.c

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

revision 1.452 by dprice, Tue Oct 18 17:31:14 2005 UTC revision 1.453 by mdb, Wed Nov 30 19:04:19 2005 UTC
# Line 802  serve_root (char *arg) Line 802  serve_root (char *arg)
802          return;          return;
803      }      }
804    
805        /* We need to check :ext: server here, :pserver: checks happen below. */
806        if (root_allow_used() && !root_allow_ok (arg)
807    # ifdef AUTH_SERVER_SUPPORT
808            && Pserver_Repos == NULL
809    # endif
810            )
811        {
812            if (alloc_pending (80 + strlen (arg)))
813                sprintf (pending_error_text,
814                         "E Bad root %s", arg);
815            return;
816        }
817    
818      /* Set original_parsed_root here, not because it can be changed in the      /* Set original_parsed_root here, not because it can be changed in the
819       * client Redirect sense, but so we don't have to switch in code that       * client Redirect sense, but so we don't have to switch in code that
820       * runs in both modes to decide which to print.       * runs in both modes to decide which to print.

Legend:
Removed from v.1.452  
changed lines
  Added in v.1.453

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