ObjFW  Check-in [0c8a28c5ac]

Overview
Comment:Ouch. Really. Fixed recursion loop in OFExceptions.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0c8a28c5acd5715f7bc5f5372e0ab74dd03fde44f5d12c5bbf15581bad795be9
User & Date: js on 2009-04-08 17:11:21
Other Links: manifest | tags
Context
2009-04-09
13:55
Use char* instead of uint8_t* for OFStreams and OFHashes.
This way, less casts are needed when using C libraries.
check-in: 722b6213c0 user: js tags: trunk
2009-04-08
17:11
Ouch. Really. Fixed recursion loop in OFExceptions. check-in: 0c8a28c5ac user: js tags: trunk
13:13
Throw an OFNotConnected exception when there was a clean disconnect. check-in: 69e41c48ff user: js tags: trunk
Changes

Modified src/OFExceptions.m from [0ea43d29eb] to [f4f4a8078d].

570
571
572
573
574
575
576
577
578
579
580




581
582
583
584
585
586
587
570
571
572
573
574
575
576




577
578
579
580
581
582
583
584
585
586
587







-
-
-
-
+
+
+
+








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

- initWithClass: (Class)class_
	andHost: (const char*)host_
	andPort: (uint16_t)port_
      andFamily: (int)family_
{