neon: fix some warnings

This commit is contained in:
Michael Stahl 2012-07-27 17:31:26 +02:00 committed by Michael Stahl
parent aab05a9444
commit 91d3cbe080
2 changed files with 12 additions and 1 deletions

View file

@ -50,7 +50,7 @@ NEON_NAME=neon-0.29.5
TARFILE_NAME=$(NEON_NAME)
TARFILE_MD5=ff369e69ef0f0143beb5626164e87ae2
PATCH_FILES=neon.patch
PATCH_FILES=neon.patch neon_ne_set_request_flag.patch
.IF "$(GUI)"=="WNT"
PATCH_FILES+=neon_exports_win.patch

View file

@ -0,0 +1,11 @@
--- misc/neon-0.29.5/src/ne_request.c 2010-09-28 13:57:26.000000000 +0200
+++ misc/build/neon-0.29.5/src/ne_request.c 2011-05-18 12:39:05.134445529 +0200
@@ -529,7 +529,7 @@
void ne_set_request_flag(ne_request *req, ne_request_flag flag, int value)
{
- if (flag < NE_SESSFLAG_LAST) {
+ if (flag < NE_REQFLAG_LAST) {
req->flags[flag] = value;
}
}