ObjFW  Check-in [63b90ff39d]

Overview
Comment:Fix stupid gcc warning that only appears on OS X.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 63b90ff39d2b128889bce4316c4044c0c381a255e221f863dee071bbf46e7a6e
User & Date: js on 2009-10-01 07:51:21
Other Links: manifest | tags
Context
2009-10-01
12:44
Let the init function of the plugin autorelease it. check-in: 62eddf9d21 user: js tags: trunk
07:51
Fix stupid gcc warning that only appears on OS X. check-in: 63b90ff39d user: js tags: trunk
2009-09-30
15:43
Migration of OFHashes tests to new testing framework. check-in: 6d6ac5a6d5 user: js tags: trunk
Changes

Modified tests_new/tcpsocket.m from [aeddf14d19] to [d20d767138].

25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

static OFString *module = @"OFTCPSocket";

void
tcpsocket_tests()
{
	OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
	OFSocket *server, *client, *accepted;
	OFString *service, *msg;
	uint16_t port;
	char buf[6];

	srand(time(NULL));
	port = (uint16_t)rand();
	if (port < 1024)







|







25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

static OFString *module = @"OFTCPSocket";

void
tcpsocket_tests()
{
	OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
	OFSocket *server, *client = nil, *accepted;
	OFString *service, *msg;
	uint16_t port;
	char buf[6];

	srand(time(NULL));
	port = (uint16_t)rand();
	if (port < 1024)