changeset 97:cc3b79349c9c stable-5-5

fix int function not returning value
author carl
date Wed, 21 Sep 2005 13:29:28 -0700
parents 1edd4e8d3a60
children 91c27c00048f
files src/context.cpp src/context.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/context.cpp	Wed Sep 21 13:25:16 2005 -0700
+++ b/src/context.cpp	Wed Sep 21 13:29:28 2005 -0700
@@ -133,7 +133,7 @@
 }
 
 
-int SMTP::flush_line(int r) {
+void SMTP::flush_line(int r) {
 	if (pending > r) memmove(buffer, buffer+r, pending-r);
 	pending -= r;
 }
--- a/src/context.h	Wed Sep 21 13:25:16 2005 -0700
+++ b/src/context.h	Wed Sep 21 13:29:28 2005 -0700
@@ -51,7 +51,7 @@
 	int 	reader();
 	int 	read_line();
 	int 	read_response();
-	int 	flush_line(int r);
+	void	flush_line(int r);
 	int 	cmd(char *c);
 	int 	helo();
 	int 	rset();