diff options
-rw-r--r-- | ot_http.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 | ||