ObjFW  Check-in [ab290b71ad]

Overview
Comment:Fix very stupid bug in OFExceptions.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ab290b71adeabc70419d6cf644728e3fb232529fa5a3a9517e3cb8c2ffcf8b41
User & Date: js on 2009-05-03 15:38:14
Other Links: manifest | tags
Context
2009-05-03
15:45
readLine: for OFTCPSocket. check-in: dabcc373f7 user: js tags: trunk
15:38
Fix very stupid bug in OFExceptions. check-in: ab290b71ad user: js tags: trunk
15:10
Get rid of another useless variable. check-in: 2cec8a76d7 user: js tags: trunk
Changes

Modified src/OFExceptions.m from [da2de5e5ed] to [ff4dc30f8c].

509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
@end

@implementation OFAddressTranslationFailedException
+ newWithClass: (Class)class_
       andNode: (const char*)node_
    andService: (const char*)service_
{
	return [self newWithClass: class_
			  andNode: node_
		       andService: service_];
}

- initWithClass: (Class)class_
	andNode: (const char*)node_
     andService: (const char*)service_
{
	self = [super initWithClass: class_];







|
|
|







509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
@end

@implementation OFAddressTranslationFailedException
+ newWithClass: (Class)class_
       andNode: (const char*)node_
    andService: (const char*)service_
{
	return [[self alloc] initWithClass: class_
				   andNode: node_
				andService: service_];
}

- initWithClass: (Class)class_
	andNode: (const char*)node_
     andService: (const char*)service_
{
	self = [super initWithClass: class_];
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
@end

@implementation OFConnectionFailedException
+ newWithClass: (Class)class_
       andHost: (const char*)host_
       andPort: (uint16_t)port_
{
	return [self newWithClass: class_
			  andHost: host_
			  andPort: port_];
}

- initWithClass: (Class)class_
	andHost: (const char*)host_
	andPort: (uint16_t)port_
{
	self = [super initWithClass: class_];







|
|
|







573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
@end

@implementation OFConnectionFailedException
+ newWithClass: (Class)class_
       andHost: (const char*)host_
       andPort: (uint16_t)port_
{
	return [[self alloc] initWithClass: class_
				   andHost: host_
				   andPort: port_];
}

- initWithClass: (Class)class_
	andHost: (const char*)host_
	andPort: (uint16_t)port_
{
	self = [super initWithClass: class_];