Index: src/exceptions/OFBindIPXSocketFailedException.m ================================================================== --- src/exceptions/OFBindIPXSocketFailedException.m +++ src/exceptions/OFBindIPXSocketFailedException.m @@ -78,14 +78,13 @@ memcpy(node, _node, sizeof(_node)); } - (OFString *)description { - OFData *node = [OFData dataWithItems: _node count: sizeof(_node)]; - return [OFString stringWithFormat: - @"Binding to network %" @PRIx16 " on node %@ with port %" @PRIx16 - @" failed for packet type %" @PRIx8 " in socket of type %@: %@", - _network, node, _port, _packetType, [_socket class], - OFStrError(_errNo)]; + @"Binding to network %" @PRIx16 " on node " + @"%02X:%02X:%02X:%02X:%02X:%02X with port %" @PRIx16 @" failed for " + @"packet type %" @PRIx8 " in socket of type %@: %@", + _network, _node[0], _node[1], _node[2], _node[3], _node[4], + _node[5], _port, _packetType, [_socket class], OFStrError(_errNo)]; } @end Index: src/exceptions/OFConnectSPXSocketFailedException.m ================================================================== --- src/exceptions/OFConnectSPXSocketFailedException.m +++ src/exceptions/OFConnectSPXSocketFailedException.m @@ -72,13 +72,13 @@ memcpy(node, _node, sizeof(_node)); } - (OFString *)description { - OFData *node = [OFData dataWithItems: _node count: sizeof(_node)]; - return [OFString stringWithFormat: - @"A connection to %@ port %" @PRIu16 @" on network %" @PRIX32 - " could not be established in socket of type %@: %@", - node, _port, _network, [_socket class], OFStrError(_errNo)]; + @"A connection to %02X:%02X:%02X:%02X:%02X:%02X port %" @PRIu16 + @" on network %" @PRIX32 " could not be established in socket of " + @"type %@: %@", + _node[0], _node[1], _node[2], _node[3], _node[4], _node[5], _port, + _network, [_socket class], OFStrError(_errNo)]; } @end