5f2358a1069b789dd71d833c2bba10350468dace
angie
  Thu Sep 20 12:15:45 2012 -0700
Fix for strict compiler warning: warn() needs a proper format string, not char * variable.
diff --git src/lib/net.c src/lib/net.c
index ffa7e89..946b172 100644
--- src/lib/net.c
+++ src/lib/net.c
@@ -156,31 +156,31 @@
 }
 
 static int netConnectWithTimeout(char *hostName, int port, long msTimeout)
 /* In order to avoid a very long default timeout (several minutes) for hosts that will
  * not answer the port, we are forced to connect non-blocking.
  * After the connection has been established, we return to blocking mode. */
 {
 int sd;
 struct sockaddr_in sai;		/* Some system socket info. */
 int res;
 fd_set mySet;
 
 char *errorString = NULL;
 if (checkConnFailure(hostName, port, &errorString))
     {
-    warn(errorString);
+    warn("%s", errorString);
     return -1;
     }
 
 if (hostName == NULL)
     {
     warn("NULL hostName in netConnect");
     return -1;
     }
 if (!internetFillInAddress(hostName, port, &sai))
     return -1;
 if ((sd = netStreamSocket()) < 0)
     return sd;
 
 // Set socket to nonblocking so we can manage our own timeout time.
 if (setSocketNonBlocking(sd, TRUE) < 0)