diff src/context.h @ 99:f8963ddf7143 stable-5-7

failed to return a value from parse_verify()
author carl
date Fri, 23 Sep 2005 07:58:34 -0700
parents cc3b79349c9c
children aa07452e641b
line wrap: on
line diff
--- a/src/context.h	Thu Sep 22 21:57:08 2005 -0700
+++ b/src/context.h	Fri Sep 23 07:58:34 2005 -0700
@@ -39,7 +39,7 @@
 	int 	pending;		// unread bytes in buffer, not including the null terminator
 	char	buffer[maxlen];
 public:
-	SMTP(int f) 			{fd = f; error = false; efrom[0] = '\0';};
+	SMTP(int f) 			{fd = f; error = false; now(); efrom[0] = '\0'; init();};
 	~SMTP() 				{if (!error) quit(); closefd();};
 	void	init()			{pending = 0; buffer[0] = '\0';};
 	void	append(char *c) {strncat(buffer, c, max(0, maxlen-1-(int)strlen(c)));};