[dovecot-cvs] dovecot/src/imap main.c,1.55,1.56

cras at dovecot.org cras at dovecot.org
Mon Aug 23 06:58:44 EEST 2004


Update of /home/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv902

Modified Files:
	main.c 
Log Message:
Accidentally committed debugging code.



Index: main.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/main.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- main.c	22 Aug 2004 09:52:11 -0000	1.55
+++ main.c	23 Aug 2004 03:58:41 -0000	1.56
@@ -200,10 +200,6 @@
 	closelog();
 }
 
-#include "ostream.h"
-#include "ostream-crlf.h"
-#include <fcntl.h>
-
 int main(int argc __attr_unused__, char *argv[], char *envp[])
 {
 #ifdef DEBUG
@@ -215,12 +211,6 @@
 	lib_init();
 	drop_privileges();
 
-	{ struct ostream *stream = o_stream_create_lf(default_pool, o_stream_create_file(open("/tmp/foo", O_CREAT|O_TRUNC|O_WRONLY, 0600), default_pool, 0, 0));
-
-		o_stream_send_str(stream, "hello\nworld\nja sit crlf\r\nmjoo");
-	o_stream_flush(stream);
-	}
-
         process_title_init(argv, envp);
 	ioloop = io_loop_create(system_pool);
 



More information about the dovecot-cvs mailing list