changeset 3858:2e5c34fe9634 HEAD

Small (compiling) fixes
author Timo Sirainen <tss@iki.fi>
date Fri, 13 Jan 2006 14:45:08 +0200
parents d3342c78ed44
children b52ea344e872
files src/dict/dict-server.c src/lib-dict/dict-client.c src/lib-storage/index/dbox/dbox-uidlist.c
diffstat 3 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/dict/dict-server.c	Fri Jan 13 13:14:01 2006 +0200
+++ b/src/dict/dict-server.c	Fri Jan 13 14:45:08 2006 +0200
@@ -413,7 +413,7 @@
 struct dict_server *dict_server_init(const char *path, int fd)
 {
 	struct dict_server *server;
-	int i;
+	int i= 0;
 
 	server = i_new(struct dict_server, 1);
 	server->path = i_strdup(path);
--- a/src/lib-dict/dict-client.c	Fri Jan 13 13:14:01 2006 +0200
+++ b/src/lib-dict/dict-client.c	Fri Jan 13 14:45:08 2006 +0200
@@ -67,7 +67,7 @@
 	dest = t_str_new(256);
 	str_append_n(dest, src, p - src);
 
-	for (; *p != '\0'; *p++) {
+	for (; *p != '\0'; p++) {
 		switch (*p) {
 		case '\t':
 			str_append_c(dest, '\001');
--- a/src/lib-storage/index/dbox/dbox-uidlist.c	Fri Jan 13 13:14:01 2006 +0200
+++ b/src/lib-storage/index/dbox/dbox-uidlist.c	Fri Jan 13 14:45:08 2006 +0200
@@ -8,6 +8,7 @@
 #include "str.h"
 #include "istream.h"
 #include "ostream.h"
+#include "ostream-crlf.h"
 #include "write-full.h"
 #include "dbox-file.h"
 #include "dbox-storage.h"