]> diplodocus.org Git - nmh/blobdiff - mts/smtp/smtp.h
Deference char pointer to test for empty string instead of strlen(3).
[nmh] / mts / smtp / smtp.h
index 72caaccbee0de559d4f7e0cb524715e6239498c4..df02c1a4a47cd2a756d5679b9a3d3f00b21f5860 100644 (file)
@@ -16,8 +16,9 @@ struct smtp {
  * prototypes
  */
 /* int client (); */
-int sm_init (char *, char *, char *, int, int, int, int, int, char *, char *, int);
-int sm_winit (char *);
+int sm_init (char *, char *, char *, int, int, int, int, const char *,
+             const char *, const char *, int);
+int sm_winit (char *, int, int);
 int sm_wadr (char *, char *, char *);
 int sm_waend (void);
 int sm_wtxt (char *, int);
@@ -256,7 +257,7 @@ char *rp_string (int);
 
 
 /*
- * The next three give the numeric value withing the field
+ * The next three give the numeric value within the field
  */
 
 /* get the basic part right-shifted */