summaryrefslogtreecommitdiffstats
path: root/src/cmd/upas/smtp/smtp.c
Commit message (Collapse)AuthorAgeFilesLines
* Trivial changes: whitespace and modes.Dan Cross2020-01-101-7/+7
| | | | | | | | | Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
* upas/smtp: fix TLS connections (#163)Zach Scott2018-11-141-0/+1
| | | | | | | | | Both `upas/nfs` and `upas/smtp` call the currently broken `tlsClient()` from libsec. This commit copies a fix from upas/nfs into upas/smtp. In `imapdial()`, upas/nfs replaces a process call for tlsClient with `stunnel3` when not on Plan 9. upas/smtp calls tlsClient directly as a function, so imapdial was copied into mxdial.c as `smtpdial()`, and tlsClient+dial replaced with a call to smtpdial.
* upas: fix nil pointer dereferenceDavid du Colombier2014-06-051-2/+2
| | | | | R=rsc https://codereview.appspot.com/92650043
* upas: fix warningsDavid du Colombier2014-05-151-2/+2
| | | | | | | | | | smtp.c:232: warning: comparison with string literal results in unspecified behavior smtp.c:244: warning: comparison with string literal results in unspecified behavior marshal.c:1179: warning: variable ‘err’ set but not used LGTM=rsc R=rsc https://codereview.appspot.com/93290043
* upas/smtp: fixes for authenticated connectionsRichard Miller2011-08-311-2/+2
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/4967049
* Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc2006-04-011-2/+2
|
* update lucidarsc2006-03-201-2/+3
|
* more changesrsc2006-02-121-31/+58
|
* various cleanuprsc2006-02-111-5/+6
|
* Thanks to John Cummings.rsc2005-10-291-0/+1122