Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2000 14:09:12 -0700 (PDT)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libfetch http.c
Message-ID:  <200007172109.OAA59539@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
des         2000/07/17 14:09:12 PDT

  Modified files:
    lib/libfetch         http.c 
  Log:
  Don't forget to set file descriptor to -1 after closing it, since the code
  outside the loop inspects it to determine whether or not we succeeded in
  retrieving the requested document. This fixes a bug where fetchGetHTTP()
  would return a FILE with an invalid file descriptor if it hit the redirect
  limit without locating the requested document.
  
  Revision  Changes    Path
  1.30      +2 -2      src/lib/libfetch/http.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007172109.OAA59539>