]> sjero.net Git - wget/commitdiff
[svn] Declare ERR in gethttp.
authorhniksic <devnull@localhost>
Mon, 26 Nov 2001 12:51:25 +0000 (04:51 -0800)
committerhniksic <devnull@localhost>
Mon, 26 Nov 2001 12:51:25 +0000 (04:51 -0800)
Submitted by Ian Abbott in <3C022295.15135.464B54@localhost>.

src/ChangeLog
src/http.c

index 26b8aeae7045e94fea63d010f15a93855f08ad47..c92452922c389bcc236de5b14d94d2b55d02c9b2 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-26  Ian Abbott <abbotti@mev.co.uk>
+
+       * http.c (gethttp): fix undeclared variable 'err' when compiled
+       with HAVE_SSL.
+
 2001-11-26  Hrvoje Niksic  <hniksic@arsdigita.com>
 
        * progress.c: Don't allocate new timers; use the timing data
index 4313176f33c7bdc457f2fed4453fde90e5e8b41d..b0f70946615060f279c05dbd8a390e11288b4434 100644 (file)
@@ -563,7 +563,7 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy)
   /* initialize ssl_ctx on first run */
   if (!ssl_ctx)
     {
-      err = init_ssl (&ssl_ctx);
+      uerr_t err = init_ssl (&ssl_ctx);
       if (err != 0)
        {
          switch (err)