projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add protective 'do { ... } while (0)' wrappers to multistatement macros
[mmh]
/
mts
/
smtp
/
smtp.h
diff --git
a/mts/smtp/smtp.h
b/mts/smtp/smtp.h
index
1d7d2c9
..
73eb5de
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;