[mw-devel] MW3 r1334 - trunk/src
welshbyte at sucs.org
welshbyte at sucs.org
Wed May 22 20:44:28 BST 2013
Author: welshbyte
Date: 2013-05-22 20:44:28 +0100 (Wed, 22 May 2013)
New Revision: 1334
Modified:
trunk/src/user.h
Log:
struct person was being padded in a couple of places so the padding is now part of the users.bb file format. This adds a couple of fields to make the padding explicit.
Modified: trunk/src/user.h
===================================================================
--- trunk/src/user.h 2013-04-27 11:34:42 UTC (rev 1333)
+++ trunk/src/user.h 2013-05-22 19:44:28 UTC (rev 1334)
@@ -13,6 +13,7 @@
{
char name[NAMESIZE+1];
char passwd[PASSWDSIZE+1];
+ uint16_t pad0;
int32_t lastlogout;
int32_t folders[2]; /* which folders are subscribed to */
#define SETALLLONG 0xFFFFFFFF
@@ -28,6 +29,7 @@
7 marked for deletion
*/
unsigned char status;
+ uint8_t pad1;
uint16_t special;
int32_t lastread[64]; /* last message read in each folder */
char realname[REALNAMESIZE+1];
More information about the mw-devel
mailing list