]> git.ipfire.org Git - thirdparty/opentracker.git/commitdiff
Fix white spaces
authorerdgeist <>
Wed, 21 Apr 2010 14:43:36 +0000 (14:43 +0000)
committererdgeist <>
Wed, 21 Apr 2010 14:43:36 +0000 (14:43 +0000)
ot_http.c
ot_stats.c

index e364809ebe0491d88cc41546dc9ba3ab6553ca25..c544468c94e892fb9968a8d489668ac3d24c081d 100644 (file)
--- a/ot_http.c
+++ b/ot_http.c
@@ -46,7 +46,7 @@ static void http_senddata( const int64 sock, struct ot_workstruct *ws ) {
   ssize_t written_size;
 
   if( !cookie ) { io_close(sock); return; }
-  
+
   /* whoever sends data is not interested in its input-array */
   if( ws->keep_alive && ws->header_size != ws->request_size ) {
     size_t rest = ws->request_size - ws->header_size;
@@ -55,7 +55,7 @@ static void http_senddata( const int64 sock, struct ot_workstruct *ws ) {
       array_truncate( &cookie->request, 1, rest );
     } else
       array_catb(&cookie->request, ws->request + ws->header_size, rest );    
-  } else 
+  } else
     array_reset( &cookie->request );
 
   written_size = write( sock, ws->reply, ws->reply_size );
index 8ba6ade2b359ebdb52d02c59b9060752c4de591b..43ab8fd21925567dc9c26cfa3362e656881db254 100644 (file)
@@ -168,7 +168,7 @@ static size_t stats_get_highscore_networks( stats_network_node *node, int depth,
       node_score = stats_get_highscore_networks( node->children[i], depth+STATS_NETWORK_NODE_BITWIDTH, node_value, scores, networks, network_count, limit );
 
     score += node_score;
-    
+
     if( node_score <= scores[0] ) continue;
 
     __STR(node_value,depth,i);