[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #42608] SMTP usage in opening comment swaps sender and
From: |
Sergio R. Caprile |
Subject: |
[lwip-devel] [bug #42608] SMTP usage in opening comment swaps sender and receiver |
Date: |
Tue, 24 Jun 2014 19:57:13 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:30.0) Gecko/20100101 Firefox/30.0 |
URL:
<http://savannah.nongnu.org/bugs/?42608>
Summary: SMTP usage in opening comment swaps sender and
receiver
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: scaprile
Submitted on: Tue 24 Jun 2014 04:57:12 PM ART
Category: Contrib
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: git head
_______________________________________________________
Details:
The fix (also attached as a patch file):
'''
--- a/apps/smtp/smtp.c
+++ b/apps/smtp/smtp.c
@@ -11,11 +11,12 @@
* printf("mail (%p) sent with results: 0x%02x, 0x%04x, 0x%08x\n", arg,
* smtp_result, srv_err, err);
* }
+ * set both username and password as NULL if no auth needed
* static void my_smtp_test(void)
* {
* smtp_set_server_addr("mymailserver.org");
* smtp_set_auth("username", "password");
- * smtp_send_mail("recipient", "sender", "subject", "body",
my_smtp_result_fn
+ * smtp_send_mail("sender", "recipient", "subject", "body",
my_smtp_result_fn
* some_argument);
* }
*
'''
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 24 Jun 2014 04:57:12 PM ART Name: smtp.patch Size: 673B By:
scaprile
<http://savannah.nongnu.org/bugs/download.php?file_id=31612>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?42608>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [bug #42608] SMTP usage in opening comment swaps sender and receiver,
Sergio R. Caprile <=