diff options
author | erdgeist <> | 2010-04-21 14:43:36 +0000 |
---|---|---|
committer | erdgeist <> | 2010-04-21 14:43:36 +0000 |
commit | 3baa1abc5697aa1becbf39a27f3de690da3acaea (patch) | |
tree | bfdabfce62179953d95b532025df3796be35d783 | |
parent | 66cda4bc7559ef0930b8dd0d36ac64c274defbd6 (diff) |
Fix white spaces
-rw-r--r-- | ot_http.c | 4 | ||||
-rw-r--r-- | ot_stats.c | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -46,7 +46,7 @@ static void http_senddata( const int64 sock, struct ot_workstruct *ws ) { | |||
46 | ssize_t written_size; | 46 | ssize_t written_size; |
47 | 47 | ||
48 | if( !cookie ) { io_close(sock); return; } | 48 | if( !cookie ) { io_close(sock); return; } |
49 | 49 | ||
50 | /* whoever sends data is not interested in its input-array */ | 50 | /* whoever sends data is not interested in its input-array */ |
51 | if( ws->keep_alive && ws->header_size != ws->request_size ) { | 51 | if( ws->keep_alive && ws->header_size != ws->request_size ) { |
52 | size_t rest = ws->request_size - ws->header_size; | 52 | size_t rest = ws->request_size - ws->header_size; |
@@ -55,7 +55,7 @@ static void http_senddata( const int64 sock, struct ot_workstruct *ws ) { | |||
55 | array_truncate( &cookie->request, 1, rest ); | 55 | array_truncate( &cookie->request, 1, rest ); |
56 | } else | 56 | } else |
57 | array_catb(&cookie->request, ws->request + ws->header_size, rest ); | 57 | array_catb(&cookie->request, ws->request + ws->header_size, rest ); |
58 | } else | 58 | } else |
59 | array_reset( &cookie->request ); | 59 | array_reset( &cookie->request ); |
60 | 60 | ||
61 | written_size = write( sock, ws->reply, ws->reply_size ); | 61 | written_size = write( sock, ws->reply, ws->reply_size ); |
@@ -168,7 +168,7 @@ static size_t stats_get_highscore_networks( stats_network_node *node, int depth, | |||
168 | node_score = stats_get_highscore_networks( node->children[i], depth+STATS_NETWORK_NODE_BITWIDTH, node_value, scores, networks, network_count, limit ); | 168 | node_score = stats_get_highscore_networks( node->children[i], depth+STATS_NETWORK_NODE_BITWIDTH, node_value, scores, networks, network_count, limit ); |
169 | 169 | ||
170 | score += node_score; | 170 | score += node_score; |
171 | 171 | ||
172 | if( node_score <= scores[0] ) continue; | 172 | if( node_score <= scores[0] ) continue; |
173 | 173 | ||
174 | __STR(node_value,depth,i); | 174 | __STR(node_value,depth,i); |