projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Whoops, forgot to bracket the calls for TLS shutdown with a #ifdef TLS_SUPPORT
[mmh]
/
mts
/
smtp
/
smtp.h
diff --git
a/mts/smtp/smtp.h
b/mts/smtp/smtp.h
index
1d7d2c9
..
12fdedb
100644
(file)
--- a/
mts/smtp/smtp.h
+++ b/
mts/smtp/smtp.h
@@
-11,6
+11,9
@@
#define S_SOML 2
#define S_SAML 3
#define S_SOML 2
#define S_SAML 3
+/* length is the length of the string in text[], which is also NUL
+ * terminated, so s.text[s.length] should always be 0.
+ */
struct smtp {
int code;
int length;
struct smtp {
int code;
int length;
@@
-21,7
+24,7
@@
struct smtp {
* prototypes
*/
/* int client (); */
* prototypes
*/
/* int client (); */
-int sm_init (char *, char *, int, int, int, int, int, int, char *, char *);
+int sm_init (char *, char *, char *, int, int, int, int, int, int, char *, char *, int);
int sm_winit (int, char *);
int sm_wadr (char *, char *, char *);
int sm_waend (void);
int sm_winit (int, char *);
int sm_wadr (char *, char *, char *);
int sm_waend (void);
@@
-30,11
+33,6
@@
int sm_wtend (void);
int sm_end (int);
char *rp_string (int);
int sm_end (int);
char *rp_string (int);
-#ifdef MPOP
-int sm_bulk (char *);
-#endif
-
-
/* The remainder of this file is derived from "mmdf.h" */
/*
/* The remainder of this file is derived from "mmdf.h" */
/*