ObjFW  Check-in [a7e0ceee3a]

Overview
Comment:Get rid of a wrongful GCC warning.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a7e0ceee3aabd5ec0b314e5234e1693d7809e1a487b53cfe74a4d668a59eb818
User & Date: js on 2012-12-15 19:44:55
Other Links: manifest | tags
Context
2012-12-15
19:45
OFSet: Fix wrong argument type in interface. check-in: b39e7c8bd1 user: js tags: trunk
19:44
Get rid of a wrongful GCC warning. check-in: a7e0ceee3a user: js tags: trunk
19:36
OFHTTPServer: Fix handling of Host:. check-in: 2fb248a952 user: js tags: trunk
Changes

Modified src/OFHTTPRequest.m from [1a3fb9a7bd] to [2b89bc9ca2].

118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
	OF_GETTER(MIMEType, YES)
}

- (OFString*)description
{
	void *pool = objc_autoreleasePoolPush();
	const char *requestTypeStr;
	OFString *indentedHeaders, *indentedPOSTData, *ret;

	switch (requestType) {
	case OF_HTTP_REQUEST_TYPE_GET:
		requestTypeStr = "GET";
		break;
	case OF_HTTP_REQUEST_TYPE_POST:







|







118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
	OF_GETTER(MIMEType, YES)
}

- (OFString*)description
{
	void *pool = objc_autoreleasePoolPush();
	const char *requestTypeStr = NULL;
	OFString *indentedHeaders, *indentedPOSTData, *ret;

	switch (requestType) {
	case OF_HTTP_REQUEST_TYPE_GET:
		requestTypeStr = "GET";
		break;
	case OF_HTTP_REQUEST_TYPE_POST: