]> sjero.net Git - wget/blobdiff - src/options.h
[svn] Allow decimal values for --timeout, --wait, and --waitretry.
[wget] / src / options.h
index 5cb749f01d7d6bd580312a5441f4903ff9ee0854..7b67169c056fd8cc7fd4b1df3495a7df35a7c902 100644 (file)
@@ -108,12 +108,11 @@ struct options
   char *proxy_user; /*oli*/
   char *proxy_passwd;
 #ifdef HAVE_SELECT
-  long timeout;                        /* The value of read timeout in
-                                  seconds. */
+  double timeout;              /* The read/connect/DNS timeout. */
 #endif
   int random_wait;             /* vary from 0 .. wait secs by random()? */
-  long wait;                   /* The wait period between retrievals. */
-  long waitretry;              /* The wait period between retries. - HEH */
+  double wait;                 /* The wait period between retrievals. */
+  double waitretry;            /* The wait period between retries. - HEH */
   int use_robots;              /* Do we heed robots.txt? */
 
   long limit_rate;             /* Limit the download rate to this