From df278abd0973f01eee82a59bb5ea653aa84616e7 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sat, 14 Apr 2007 13:48:33 +0000 Subject: [PATCH] Added center alignment to network statistic columns. Now it looks nicer and is consistent with the system processes columns. --- apps/webserver/httpd-cgi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/webserver/httpd-cgi.c b/apps/webserver/httpd-cgi.c index 498031532..9674b2c45 100644 --- a/apps/webserver/httpd-cgi.c +++ b/apps/webserver/httpd-cgi.c @@ -28,7 +28,7 @@ * * This file is part of the uIP TCP/IP stack. * - * $Id: httpd-cgi.c,v 1.4 2007/04/08 19:39:05 oliverschmidt Exp $ + * $Id: httpd-cgi.c,v 1.5 2007/04/14 13:48:33 oliverschmidt Exp $ * */ @@ -163,7 +163,7 @@ make_tcp_stats(void *arg) conn = &uip_conns[s->count]; return sprintf((char *)uip_appdata, - "%d%u.%u.%u.%u:%u%s%u%u%c %c\r\n", + "%d%u.%u.%u.%u:%u%s%u%u%c %c\r\n", htons(conn->lport), conn->ripaddr.u8[0], conn->ripaddr.u8[1],