summaryrefslogtreecommitdiff
path: root/applications
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-03-16 16:38:46 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-03-16 16:38:46 +0000
commite0795464c1e7166a87625ba9fc2929d528acdaff (patch)
tree0d86db76359b64d12b721806039dcea738ac4bb1 /applications
parentfab8de59d3bb3528e7ff6a7721781c655553f13d (diff)
[1.5] I think == was meant here.
Diffstat (limited to 'applications')
-rw-r--r--applications/jpip/libopenjpip/query_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/jpip/libopenjpip/query_parser.c b/applications/jpip/libopenjpip/query_parser.c
index 1e8c657e..e37125c0 100644
--- a/applications/jpip/libopenjpip/query_parser.c
+++ b/applications/jpip/libopenjpip/query_parser.c
@@ -143,7 +143,7 @@ query_param_t * parse_query( char *query_string)
else if( strcasecmp( fieldname, "len") == 0){
sscanf( fieldval, "%d", &query_param->len);
- if( query_param->len = 2000) /* for kakadu client*/
+ if( query_param->len == 2000) /* for kakadu client*/
strncpy( query_param->box_type[0], "ftyp", 4);
}
}