Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Revision:
54:84ef2b29cf7e
Parent:
50:492f2d2954e4
diff -r 77f8a49adf89 -r 84ef2b29cf7e eth/nr4.cpp
--- a/eth/nr4.cpp	Thu Nov 09 15:44:29 2017 +0000
+++ b/eth/nr4.cpp	Mon Nov 13 08:06:55 2017 +0000
@@ -278,19 +278,19 @@
         if (records[i].state == STATE_EMPTY) continue;
         if (records[i].ip || records[i].name[0])
         {
-            HttpReplyAddF("%4u ", (elapsed - records[i].elapsed) / 60);
+            HttpAddF("%4u ", (elapsed - records[i].elapsed) / 60);
             
             int ipLen = Ip4AddressHttp(records[i].ip);
-            HttpReplyFillChar(' ', 40 - ipLen);
+            HttpFillChar(' ', 40 - ipLen);
                         
-            HttpReplyAddChar(letterFromStateAndProtocol(records[i].state, records[i].protocol));
+            HttpAddChar(letterFromStateAndProtocol(records[i].state, records[i].protocol));
             
-            HttpReplyAddChar(' ');
+            HttpAddChar(' ');
             
-            HttpReplyAddText(records[i].name);
+            HttpAddText(records[i].name);
             
-            HttpReplyAddChar('\r');
-            HttpReplyAddChar('\n');
+            HttpAddChar('\r');
+            HttpAddChar('\n');
         }
     }
 }