diff options
Diffstat (limited to 'opentracker.c')
| -rw-r--r-- | opentracker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c index f8587c9..d506085 100644 --- a/opentracker.c +++ b/opentracker.c | |||
| @@ -165,7 +165,7 @@ static void handle_accept( const int64 serversocket ) { | |||
| 165 | io_wantread( i ); | 165 | io_wantread( i ); |
| 166 | 166 | ||
| 167 | memset( h, 0, sizeof( struct http_data ) ); | 167 | memset( h, 0, sizeof( struct http_data ) ); |
| 168 | memmove( h->ip, ip, sizeof( ip ) ); | 168 | WRITE32(h->ip,0,READ32(ip,0)); |
| 169 | 169 | ||
| 170 | stats_issue_event( EVENT_ACCEPT, FLAG_TCP, ntohl(*(uint32_t*)ip)); | 170 | stats_issue_event( EVENT_ACCEPT, FLAG_TCP, ntohl(*(uint32_t*)ip)); |
| 171 | 171 | ||
