Skip to content

Commit

Permalink
add write error debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
rfm committed Jan 29, 2024
1 parent 742d9fc commit bad85d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/GSSocketStream.m
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,9 @@ - (void) stream: (NSStream*)stream issuer: (NSString*)i owner: (NSString*)o;
#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);
Expand Down

0 comments on commit bad85d6

Please sign in to comment.