Branch: Tag:

1998-06-13

1998-06-13 19:18:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added version information to full_status().

Rev: server/base_server/roxen.pike:1.213

1: - constant cvs_version = "$Id: roxen.pike,v 1.212 1998/06/13 19:11:27 grubba Exp $"; + constant cvs_version = "$Id: roxen.pike,v 1.213 1998/06/13 19:18:56 grubba Exp $";   #define IN_ROXEN   #include <roxen.h>   #include <config.h>
802:    hrs -= days*24;       res = sprintf("<table>" +  "<tr><td><b>Version:</b></td><td colspan=2>%s</td></tr>\n"    "<tr><td><b>Booted on:</b></td><td colspan=2>%s</td></tr>\n"    "<tr><td><b>Time to boot:</b></td>"    "<td>%d sec</td></tr>\n"
810:    "<tr><td colspan=3>&nbsp;</td></tr>\n"    "<tr><td><b>Sent data:</b></td><td>%s"    "</td><td>%.2f Kbit/sec</td></tr><tr>\n", -  ctime(boot_time), start_time-boot_time, +  real_version, ctime(boot_time), start_time-boot_time,    days, (days==1?"":"s"), hrs, min, uptime%60,    foo[1], foo[0] * 8192.0);