Skip to content

Commit

Permalink
Refs #100894 Fix two (benign) uses of =+ which should have been +=
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Briggs committed Apr 23, 2013
1 parent 2b8dcde commit f6b6486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/HttpProxy/HttpProxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -2609,11 +2609,11 @@ AdjustForRanges(RequestBase rb) {
h->rangeList->rangeStop = rStop;
rLen = rStop - rStart + 1;
}
tpos =+ snprintf(temp+tpos, sizeof(temp) - tpos,
tpos += snprintf(temp+tpos, sizeof(temp) - tpos,
"Content-Length: %jd\r\n",
(intmax_t) rLen
);
tpos =+ snprintf(temp+tpos, sizeof(temp) - tpos,
tpos += snprintf(temp+tpos, sizeof(temp) - tpos,
"Content-Range: bytes %ju-%ju/%ju\r\n",
(intmax_t) rStart,
(intmax_t) rStop,
Expand Down

0 comments on commit f6b6486

Please sign in to comment.