(svn r13712) -Fix: enforce the length restrictions of company and president name in the commands too.

This commit is contained in:
rubidium
2008-07-17 11:19:20 +00:00
parent 88848d78b5
commit 2e4f32023c
6 changed files with 12 additions and 5 deletions

View File

@@ -70,6 +70,7 @@ uint8 _network_advertise_retries;
/* Check whether NETWORK_NUM_LANDSCAPES is still in sync with NUM_LANDSCAPE */
assert_compile((int)NETWORK_NUM_LANDSCAPES == (int)NUM_LANDSCAPE);
assert_compile((int)NETWORK_COMPANY_NAME_LENGTH == MAX_LENGTH_COMPANY_NAME + 1);
// global variables (declared in network_data.h)
CommandPacket *_local_command_queue;