[svn] Declare ERR in gethttp.

Submitted by Ian Abbott in <3C022295.15135.464B54@localhost>.
This commit is contained in:
hniksic 2001-11-26 04:51:25 -08:00
parent 84396de673
commit 278fb2412d
2 changed files with 6 additions and 1 deletions

View 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

View 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)