comparison src/context.cpp @ 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 f8963ddf7143
comparison
equal deleted inserted replaced
96:1edd4e8d3a60 97:cc3b79349c9c
131 } 131 }
132 return (lf-buffer)+1; // number of bytes in this line 132 return (lf-buffer)+1; // number of bytes in this line
133 } 133 }
134 134
135 135
136 int SMTP::flush_line(int r) { 136 void SMTP::flush_line(int r) {
137 if (pending > r) memmove(buffer, buffer+r, pending-r); 137 if (pending > r) memmove(buffer, buffer+r, pending-r);
138 pending -= r; 138 pending -= r;
139 } 139 }
140 140
141 141