src/inc/https.h 1.2
1.2 2010/03/10 23:41:17 angie
Instead of errAborting in low-level net.c routines, pass errors up to higher-level code, most of which already checks for error return values.
Index: src/inc/https.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/https.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 1000000 -r1.1 -r1.2
--- src/inc/https.h 10 Mar 2009 00:30:34 -0000 1.1
+++ src/inc/https.h 10 Mar 2010 23:41:17 -0000 1.2
@@ -1,4 +1,9 @@
+/* Connect via https. */
-int netMustConnectHttps(char *hostName, int port);
-/* Start https connection with server or die. */
+#ifndef NET_HTTPS_H
+#define NET_HTTPS_H
+int netConnectHttps(char *hostName, int port);
+/* Return socket for https connection with server or -1 if error. */
+
+#endif//ndef NET_HTTPS_H