[dovecot-cvs] dovecot/src/login-common master.c,1.10,1.11

cras at dovecot.org cras at dovecot.org
Tue Oct 19 04:17:41 EEST 2004


Update of /var/lib/cvs/dovecot/src/login-common
In directory talvi:/tmp/cvs-serv17154/login-common

Modified Files:
	master.c 
Log Message:
Added version to login <-> master communication as well.



Index: master.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/login-common/master.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- master.c	9 Jul 2004 19:59:02 -0000	1.10
+++ master.c	19 Oct 2004 01:17:39 -0000	1.11
@@ -44,6 +44,7 @@
 	i_assert(auth_pid != 0);
 
 	memset(&req, 0, sizeof(req));
+	req.version = MASTER_LOGIN_PROTOCOL_VERSION;
 	req.tag = ++master_tag_counter;
 	if (req.tag == 0)
 		req.tag = ++master_tag_counter;
@@ -77,6 +78,7 @@
 		return;
 
 	memset(&req, 0, sizeof(req));
+	req.version = MASTER_LOGIN_PROTOCOL_VERSION;
 
 	/* sending -1 as fd does the notification */
 	if (fd_send(master_fd, -1, &req, sizeof(req)) != sizeof(req))



More information about the dovecot-cvs mailing list