Added PROTOCOL_VERSION define,

Started to change to new client-server protocol 0.2,
Added "slash" heartbeat mode...
This commit is contained in:
toykeeper committed 2000-01-05 00:03:25 +00:00
1 parent 14df3acb82
commit e2401e4a72
17 files changed
+101 -43

No files matched your search

+2 -2
View File
@@ -85,7 +85,7 @@ int cpu_screen(int rep, int display)
first = 0;
sock_send_string(sock, "screen_add C\n");
sprintf(buffer, "screen_set C name {CPU Use: %s}\n", host);
sprintf(buffer, "screen_set C -name {CPU Use: %s}\n", host);
sock_send_string(sock, buffer);
if(lcd_hgt >= 4)
{
@@ -272,7 +272,7 @@ int cpu_graph_screen(int rep, int display)
{
first = 0;
sock_send_string(sock, "screen_add G\n");
sprintf(buffer, "screen_set G name {CPU Graph: %s}\n", host);
sprintf(buffer, "screen_set G -name {CPU Graph: %s}\n", host);
sock_send_string(sock, buffer);
if(lcd_hgt >= 4)
{