summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ot_http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ot_http.c b/ot_http.c
index 5c0a260..72e8c57 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -381,6 +381,7 @@ static ssize_t http_handle_announce( const int64 sock, struct ot_workstruct *ws,
381 /* Find last occurence of the forwarded header */ 381 /* Find last occurence of the forwarded header */
382 do { 382 do {
383 fwd = fwd_new; 383 fwd = fwd_new;
384 fwd_new += 16;
384 fwd_new = strcasestr( fwd_new, "\nX-Forwarded-For:" ); 385 fwd_new = strcasestr( fwd_new, "\nX-Forwarded-For:" );
385 } while( fwd_new ); 386 } while( fwd_new );
386 387