fix bogus 0x before %p in debug log

This commit is contained in:
Richard Frith-Macdonald 2023-04-24 17:45:52 +01:00
parent afb667be58
commit 683b1aba32

View file

@ -1389,7 +1389,7 @@ findMode(NSDictionary* d, NSString* s)
shouldMakeNewConnection: (NSConnection*)newConn shouldMakeNewConnection: (NSConnection*)newConn
{ {
[EcProc cmdDbg: cmdConnectDbg [EcProc cmdDbg: cmdConnectDbg
msg: @"New connection 0x%p created", newConn]; msg: @"New connection %p created", newConn];
return YES; return YES;
} }
@ -3418,7 +3418,7 @@ NSLog(@"Ignored attempt to set timer interval to %g ... using 10.0", interval);
{ {
[[self ecAlarmDestination] setDestination: nil]; [[self ecAlarmDestination] setDestination: nil];
DESTROY(cmdServer); DESTROY(cmdServer);
NSLog(@"lost connection 0x%p to command server\n", connection); NSLog(@"lost connection %p to command server\n", connection);
/* /*
* Cause timeout to go off really soon so we will try to * Cause timeout to go off really soon so we will try to
* re-establish the link to the server. * re-establish the link to the server.