[dovecot-cvs] dovecot/src/lib lib.c,1.11,1.12 lib.h,1.14,1.15

cras at dovecot.org cras at dovecot.org
Sat Sep 11 20:24:52 EEST 2004


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv26421/lib

Modified Files:
	lib.c lib.h 
Log Message:
Added null4[] variable.



Index: lib.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/lib.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- lib.c	15 Aug 2004 03:40:31 -0000	1.11
+++ lib.c	11 Sep 2004 17:24:50 -0000	1.12
@@ -6,6 +6,8 @@
 #include <stdlib.h>
 #include <time.h>
 
+unsigned char null4[4] = { 0, 0, 0, 0 };
+
 size_t nearest_power(size_t num)
 {
 	size_t n = 1;

Index: lib.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/lib.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- lib.h	10 May 2004 00:40:42 -0000	1.14
+++ lib.h	11 Sep 2004 17:24:50 -0000	1.15
@@ -36,6 +36,8 @@
 struct istream;
 struct ostream;
 
+unsigned char null4[4]; /* 4 zeros - useful for padding */
+
 size_t nearest_power(size_t num);
 
 void lib_init(void);



More information about the dovecot-cvs mailing list