FreeBSD/contrib/subversion/subversion/svnserve/serve.c
/* Skip past the scheme part of a URL, including the tunnel specification
 * if present.  Return NULL if the scheme part is invalid for ra_svn. */
Skip past the scheme part of a URL, including the tunnel specification
if present.  Return NULL if the scheme part is invalid for ra_svn.
Skip past the scheme part of a URL including the tunnel specification if present . Return NULL if the scheme part is invalid for ra_svn .
static const char *skip_scheme_part(const char *url)
{
  if (strncmp(url, "svn", 3) != 0)
    return NULL;
  url += 3;
  if (*url == '+')
    url += strcspn(url, ":");
  if (strncmp(url, "://", 3) != 0)
    return NULL;
  return url + 3;
}
static const char * skip_scheme_part ( const char * url ) { if ( strncmp ( url , " " , 3 ) != 0 ) return NULL ; url += 3 ; if ( * url == ' ' ) url += strcspn ( url , " " ) ; if ( strncmp ( url , " " , 3 ) != 0 ) return NULL ; return url + 3 ; }
Skip past the scheme part of a URL, including the tunnel specification
 if present.
Skip past the scheme part of a URL including the tunnel specification if present .