Commit 24f149d7 authored by rswindell's avatar rswindell
Browse files

Add #defines for MAX_SUBS, MAX_DIRS, and MAX_XTRNS (65534).

If anybody actually hit these limits I'd be impressed, but it's not impossible.
65535 (-1 as an int16_t) is a special value used to indicate an "invalid" item.
parent c7d39477
......@@ -100,6 +100,9 @@ typedef struct js_callback {
/************/
#define MAX_NODES 250
#define MAX_SUBS 65534
#define MAX_DIRS 65534
#define MAX_XTRNS 65534
#define MAX_FILES 10000 /* Maximum number of files per dir */
#define MAX_USERXFER 500 /* Maximum number of dest. users of usrxfer */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment