mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
add write error debug log
This commit is contained in:
parent
742d9fc843
commit
bad85d69f7
1 changed files with 3 additions and 0 deletions
|
@ -460,6 +460,9 @@ GSTLSPush(gnutls_transport_ptr_t handle, const void *buffer, size_t len)
|
|||
#else
|
||||
errno = e; // Not thread-safe
|
||||
#endif
|
||||
NSDebugFLLog(@"NSStream", @"GSTLSPush to %p error %d (%s)",
|
||||
[tls ostream], e, strerror(e));
|
||||
return -1;
|
||||
}
|
||||
NSDebugFLLog(@"NSStream", @"GSTLSPush to %p write %ld of %lu",
|
||||
[tls ostream], (long)result, (unsigned long)len);
|
||||
|
|
Loading…
Reference in a new issue