Prevent updates to DynDNS if the ip address hasn't changed.
[openwrt/svn-archive/archive.git] / utils / haserl / patches / 101-ignore_content_disposition.patch
1 Index: haserl-0.8.0/src/haserl.c
2 ===================================================================
3 --- haserl-0.8.0.orig/src/haserl.c 2007-06-04 13:22:30.973146648 +0200
4 +++ haserl-0.8.0/src/haserl.c 2007-06-04 13:22:31.039136616 +0200
5 @@ -479,9 +479,12 @@
6 line=LineToStr(&qs[offset], cl-offset);
7 if (strncasecmp(&qs[offset], "Content-Disposition", 19) != 0) {
8 /* hmm... content disposition was not where we expected it */
9 + /* Be kind to Opera 9.10 and just ignore this block */
10 + /*
11 PrintParseError ("Content-Disposition Missing", 0);
12 free(ct);
13 - return(-1);
14 + */
15 + continue;
16 }
17 /* Found it, so let's go find "name=" */
18 if (!(envname=strstr(&qs[offset], "name="))) {