]> git.marmaro.de Git - mmh/blobdiff - mts/smtp/smtp.h
Correct various places in smtp.c where the reply string might not have been
[mmh] / mts / smtp / smtp.h
index 1d7d2c98fdb4b81724864004662c06fabe1cb1e4..73eb5de72e95910084351dd968160e485f49257b 100644 (file)
@@ -11,6 +11,9 @@
 #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;