mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Fix minor debug logging error
This commit is contained in:
parent
e9ed77fb68
commit
a89dc604dd
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2022-02-11 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSTLS.m: Fix failure to log handle properly during
|
||||
initialisation (set ivar containign handle earlier).
|
||||
|
||||
2022-01-31 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSURL.m:
|
||||
|
|
|
@ -1659,6 +1659,10 @@ retrieve_callback(gnutls_session_t session,
|
|||
BOOL trust;
|
||||
BOOL verify;
|
||||
|
||||
/* Set this early because it is needed in debug output during init.
|
||||
*/
|
||||
handle = ioHandle;
|
||||
|
||||
created = [NSDate timeIntervalSinceReferenceDate];
|
||||
opts = [options copy];
|
||||
outgoing = isOutgoing ? YES : NO;
|
||||
|
@ -1915,7 +1919,6 @@ retrieve_callback(gnutls_session_t session,
|
|||
#endif
|
||||
gnutls_transport_set_pull_function(session, pullFunc);
|
||||
gnutls_transport_set_push_function(session, pushFunc);
|
||||
handle = ioHandle;
|
||||
gnutls_transport_set_ptr(session, (gnutls_transport_ptr_t)ioHandle);
|
||||
gnutls_session_set_ptr(session, (void*)self);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue