Commit b9f6bdb4 authored by conrad's avatar conrad

oggz-chop: explicitly set state->end when parsing cgi parameter t,

no matter what the default value was -- this is correct and more robust.
Thanks Ralph for reviewing.


git-svn-id: http://svn.annodex.net/liboggz/trunk@3794 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 1a14d4b5
......@@ -28,6 +28,8 @@ set_param (OCState * state, char * key, char * val)
if (val && (sep = strchr (val, '/')) != NULL) {
*sep++ = '\0';
state->end = parse_timespec (sep);
} else {
state->end = -1.0;
}
state->start = parse_timespec (val);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment