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: EthernetInterface mbed-rtos mbed
Fork of niMQTT by
Revision 12:ae25ab913163, committed 2014-07-03
- Comitter:
- cosm
- Date:
- Thu Jul 03 18:04:36 2014 +0000
- Parent:
- 11:d508e0b7ed4d
- Commit message:
- fix default issue
Changed in this revision
niMQTT.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/niMQTT.cpp Thu Jul 03 18:02:08 2014 +0000 +++ b/niMQTT.cpp Thu Jul 03 18:04:36 2014 +0000 @@ -157,7 +157,7 @@ return (resp[2] == 0); } -int niMQTT::pub(char *topic, char *message, bool retain=false) { +int niMQTT::pub(char *topic, char *message, bool retain) { if (debug) printf("*pub\r\n"); int topic_length = strlen(topic); int message_length = strlen(message);