[dovecot-cvs] dovecot/src/lib-storage/index index-fetch.c,1.37,1.38

cras at procontrol.fi cras at procontrol.fi
Sun Dec 22 09:50:52 EET 2002


Update of /home/cvs/dovecot/src/lib-storage/index
In directory danu:/tmp/cvs-serv28695/lib-storage/index

Modified Files:
	index-fetch.c 
Log Message:
Don't send \0 char in FETCH replies..



Index: index-fetch.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/index-fetch.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- index-fetch.c	21 Dec 2002 22:02:58 -0000	1.37
+++ index-fetch.c	22 Dec 2002 07:50:49 -0000	1.38
@@ -301,7 +301,7 @@
 		len = str_len(ctx->str);
 		if (len > 0) {
 			if (!ctx->first)
-				str_truncate(ctx->str, len-1);
+				str_truncate(ctx->str, --len);
 
 			if (o_stream_send(ctx->output,
 					  str_c(ctx->str), len) < 0)




More information about the dovecot-cvs mailing list