Skip to content

Commit

Permalink
Another spot that needed PROGRESS_ID_LEN rather than the hardcoded le…
Browse files Browse the repository at this point in the history
…ngth of X-Progress-ID.
  • Loading branch information
ahwatts committed Jul 9, 2010
1 parent 960483b commit e6b4594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod_upload_progress.c
Expand Up @@ -278,7 +278,7 @@ const char *get_progress_id(request_rec *r) {

if (i) {
i = 0;
start_p = p += 14;
start_p = p += PROGRESS_ID_LEN;
end_p = r->args + strlen(r->args);
while (p <= end_p && *p++ != '&') {
i++;
Expand Down

0 comments on commit e6b4594

Please sign in to comment.