[Olsr-cvs] olsrd-current/lib/httpinfo/src olsrd_httpinfo.c, 1.83, 1.84

Bernd Petrovitsch (spam-protected)
Fri Nov 9 00:33:56 CET 2007


Update of /cvsroot/olsrd/olsrd-current/lib/httpinfo/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv16070/lib/httpinfo/src

Modified Files:
	olsrd_httpinfo.c 
Log Message:
* win32 doesn't support that feature

Index: olsrd_httpinfo.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/httpinfo/src/olsrd_httpinfo.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -C2 -d -r1.83 -r1.84
*** olsrd_httpinfo.c	8 Nov 2007 22:47:40 -0000	1.83
--- olsrd_httpinfo.c	8 Nov 2007 23:33:54 -0000	1.84
***************
*** 711,718 ****
    int size = 0;
    struct rt_entry *rt;
    size += section_title(&buf[size], bufsize-size, "OLSR Routes in Kernel");
    size += snprintf(&buf[size], bufsize-size,
!                    "<tr><th%1$s>Destination</th><th%1$s>Gateway</th><th>Metric</th><th>ETX</th><th>Interface</th></tr>\n",
!                   resolve_ip_addresses ? " colspan=\"2\"" : "");
  
    /* Walk the route table */
--- 711,720 ----
    int size = 0;
    struct rt_entry *rt;
+   const char *s = resolve_ip_addresses ? " colspan=\"2\"" : "";
    size += section_title(&buf[size], bufsize-size, "OLSR Routes in Kernel");
    size += snprintf(&buf[size], bufsize-size,
!                    "<tr><th%s>Destination</th><th%s>Gateway</th><th>Metric</th><th>ETX</th><th>Interface</th></tr>\n",
!                    s,
!                    s);
  
    /* Walk the route table */





More information about the Olsr-cvs mailing list