fixed parsing of received replies into headers and body

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@767 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 18 years ago
parent 5ed292db40
commit d751f7289f

@ -325,7 +325,7 @@ int msg_get_lines(char*& msg_c, char* str, size_t len)
return 0;
while( max>0 && (l=msg_get_line(msg_c,s,max)) && l!=-1 ) {
if(!strcmp(".",s))
if(!strcmp(".",s) || !strcmp("\r",s))
break;
s+=l;
*(s++)='\n';

Loading…
Cancel
Save