Skip to content

Commit

Permalink
Fix white spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
erdgeist committed Apr 21, 2010
1 parent db37fe5 commit a1bc673
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions ot_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 );
Expand Down Expand Up @@ -617,4 +617,4 @@ ssize_t http_handle_request( const int64 sock, struct ot_workstruct *ws ) {
return ws->reply_size;
}

const char *g_version_http_c = "$Source: /home/cvsroot/opentracker/ot_http.c,v $: $Revision: 1.48 $\n";
const char *g_version_http_c = "$Source: /home/cvsroot/opentracker/ot_http.c,v $: $Revision: 1.49 $\n";
4 changes: 2 additions & 2 deletions ot_stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -746,4 +746,4 @@ void stats_deinit( ) {
#endif
}

const char *g_version_stats_c = "$Source: /home/cvsroot/opentracker/ot_stats.c,v $: $Revision: 1.61 $\n";
const char *g_version_stats_c = "$Source: /home/cvsroot/opentracker/ot_stats.c,v $: $Revision: 1.62 $\n";

0 comments on commit a1bc673

Please sign in to comment.