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.
Dependencies: mbed
Fork of webserverBlinky by
Diff: main.cpp
- Revision:
- 70:713f86229288
- Parent:
- 69:23f560087c16
- Child:
- 71:965619fedb3a
diff -r 23f560087c16 -r 713f86229288 main.cpp --- a/main.cpp Wed Jun 07 11:18:49 2017 +0000 +++ b/main.cpp Wed Jun 07 11:24:03 2017 +0000 @@ -499,7 +499,7 @@ char flagInfo[10]; // text string presentating the TCP flags memset(flagInfo,'.', 9); // fill string with "........." - memset(flagInfo,0,1); // null terminate string + memset(flagInfo+9,0,1); // null terminate string if (flags & (1<<0)) flagInfo[0]='F'; if (flags & (1<<1)) flagInfo[1]='S';