mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
fix typos in comments and remove leftover debug line
This commit is contained in:
parent
b45feeb8d7
commit
a93eab8549
1 changed files with 2 additions and 3 deletions
|
@ -1936,7 +1936,6 @@ retrieve_callback(gnutls_session_t session,
|
|||
{
|
||||
int result = gnutls_record_recv(session, buf, len);
|
||||
|
||||
NSLog(@"TLS session read %d", result);
|
||||
if (result < 0)
|
||||
{
|
||||
NSString *p;
|
||||
|
@ -1978,7 +1977,7 @@ retrieve_callback(gnutls_session_t session,
|
|||
result = -1;
|
||||
#if defined(_WIN32)
|
||||
/* Windows specific code expects to use winsock functions for error
|
||||
* codes rather than looking at errno, so we must tyranslate a few.
|
||||
* codes rather than looking at errno, so we must translate a few.
|
||||
*/
|
||||
if (EAGAIN == errno)
|
||||
WSASetLastError(WSAEWOULDBLOCK);
|
||||
|
@ -2027,7 +2026,7 @@ retrieve_callback(gnutls_session_t session,
|
|||
result = -1;
|
||||
#if defined(_WIN32)
|
||||
/* Windows specific code expects to use winsock functions for error
|
||||
* codes rather than looking at errno, so we must tyranslate a few.
|
||||
* codes rather than looking at errno, so we must translate a few.
|
||||
*/
|
||||
if (EAGAIN == errno)
|
||||
WSASetLastError(WSAEWOULDBLOCK);
|
||||
|
|
Loading…
Reference in a new issue