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.
OLD
Revision 21:1270827d431a, committed 2012-11-08
- Comitter:
- gsfan
- Date:
- Thu Nov 08 01:35:37 2012 +0000
- Parent:
- 20:151b5a4fdd29
- Commit message:
- fix
Changed in this revision
GSwifi_smtp.cpp | Show annotated file Show diff for this revision Revisions of this file |
dbg.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 151b5a4fdd29 -r 1270827d431a GSwifi_smtp.cpp --- a/GSwifi_smtp.cpp Thu Nov 08 01:28:45 2012 +0000 +++ b/GSwifi_smtp.cpp Thu Nov 08 01:35:37 2012 +0000 @@ -62,6 +62,8 @@ if (wait_smtp(cid ,250)) goto quit; ret = 0; + LOG("From: %s To: %s %d\r\n", from, to, strlen(mesg)); + quit: send(cid, "QUIT\r\n", 6); if (wait_smtp(cid ,221)) goto exit;
diff -r 151b5a4fdd29 -r 1270827d431a dbg.h --- a/dbg.h Thu Nov 08 01:28:45 2012 +0000 +++ b/dbg.h Thu Nov 08 01:35:37 2012 +0000 @@ -1,4 +1,4 @@ -#define DEBUG +//#define DEBUG #ifdef DEBUG #define DBG(...) printf("" __VA_ARGS__)