diff --git a/src/map/chrif.c b/src/map/chrif.c index 1563fdbc78..78846a0ab3 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -2000,9 +2000,8 @@ void do_init_chrif(void) { exit(EXIT_FAILURE); } - if (sizeof(struct s_storage) > 0xFFFF){ - ShowError("s_storage size = %d is too big to be transmitted. (must be below 0xFFFF) \n", - sizeof(struct s_storage)); + if (sizeof(struct s_storage) > 0xFFFF) { + ShowError("s_storage size = %d is too big to be transmitted. (must be below 0xFFFF)\n", sizeof(struct s_storage)); exit(EXIT_FAILURE); } @@ -2012,11 +2011,6 @@ void do_init_chrif(void) { exit(EXIT_FAILURE); } - if(sizeof(struct s_storage) > 0xFFFF) { - ShowError("s_storage size = %d is too big to be transmitted. (must be below 0xFFFF)\n", sizeof(struct s_storage)); - exit(EXIT_FAILURE); - } - auth_db = idb_alloc(DB_OPT_BASE); auth_db_ers = ers_new(sizeof(struct auth_node),"chrif.c::auth_db_ers",ERS_OPT_NONE);