ObjFW  Check-in [ed366ad8f8]

Overview
Comment:Fix typo.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ed366ad8f8612d4227dced38548f48a9b4e75daef93d57f42522d33b5898a37d
User & Date: js on 2009-12-07 20:12:43
Other Links: manifest | tags
Context
2009-12-09
18:43
Indent defines and imports where it is useful. check-in: 66f6ca045c user: js tags: trunk
2009-12-07
20:12
Fix typo. check-in: ed366ad8f8 user: js tags: trunk
2009-12-06
14:13
Add README. check-in: ed2c649ede user: js tags: trunk
Changes

Modified src/OFTCPSocket.m from [00e6aa5037] to [f19d63597b].

221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
	}

	memset(&addr, 0, sizeof(addr));
	addr.sin_family = AF_INET;
	addr.sin_port = port;

	if (he->h_addrtype != AF_INET || he->h_addr_list[0] == NULL) {
		[mutex lock];
		@throw [OFAddressTranslationFailedException
		    newWithClass: isa
			    node: node
			 service: service];
	}

	memcpy(&addr.sin_addr.s_addr, he->h_addr_list[0], he->h_length);







|







221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
	}

	memset(&addr, 0, sizeof(addr));
	addr.sin_family = AF_INET;
	addr.sin_port = port;

	if (he->h_addrtype != AF_INET || he->h_addr_list[0] == NULL) {
		[mutex unlock];
		@throw [OFAddressTranslationFailedException
		    newWithClass: isa
			    node: node
			 service: service];
	}

	memcpy(&addr.sin_addr.s_addr, he->h_addr_list[0], he->h_length);