X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fmisc.c;h=88f1cd7719ba53f99210dd0acddeeaa99cd37bcd;hp=2c01f36401e0e7eed881a71f23b5e1f4ab2baa3e;hb=4f767d54c7ac468e9a42e22caf716111be1ceba9;hpb=05651fcbc154b1d8321d6e4e9374cfcdd274feda diff --git a/src/misc.c b/src/misc.c index 2c01f364..88f1cd77 100644 --- a/src/misc.c +++ b/src/misc.c @@ -27,6 +27,9 @@ #include "random.h" #include "joystick.h" +/* maximal allowed length of a command line option */ +#define MAX_OPTION_LEN 256 + static unsigned long mainCounter(int mode) { static struct timeval base_time = { 0, 0 };