Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Diff: eth/nr4.cpp
- 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'); } } }