minor oversight in HTTCP.c (5.0A)

Hi,

  The function _makeSocket() in HTTCP.c may return an incorrect
value for the preemptive case, since for this case the variable 
`status' is never being set.

  Currently this wouldn't lead to problems, since in the two places
where _makeSocket() is used its result is only tested for `== -1',
which would never become true as a result of the oversight.  But if
the code calling _makeSocket() is changed to also test for blocking
vs. non-blocking (1 or 0), it may give the wrong answer.

  Klaus 

Received on Monday, 14 October 1996 18:07:10 UTC