src/hg/lib/customPp.c 1.8

1.8 2009/09/25 00:20:20 galt
adding missing https
Index: src/hg/lib/customPp.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/customPp.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -B -U 4 -r1.7 -r1.8
--- src/hg/lib/customPp.c	15 Nov 2006 19:25:33 -0000	1.7
+++ src/hg/lib/customPp.c	25 Sep 2009 00:20:20 -0000	1.8
@@ -61,18 +61,18 @@
     return reused->name;
     }
 
 /* Get next line from file on top of stack.  If at EOF
- * go to next file in stack.  If get a http:// or ftp:// line
+ * go to next file in stack.  If get a http:// or https:// or ftp:// line
  * open file this references and push it onto stack. Meanwhile
  * squirrel away 'browser' lines. */
 struct lineFile *lf;
 while ((lf = cpp->fileStack) != NULL)
     {
     char *line;
     if (lineFileNext(lf, &line, NULL))
         {
-	if (startsWith("http://", line) || startsWith("ftp://", line))
+	if (startsWith("http://", line) || startsWith("https://", line) || startsWith("ftp://", line))
 	    {
 	    lf = netLineFileOpen(line);
 	    slAddHead(&cpp->fileStack, lf);
 	    continue;