X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=server.c;h=e3149c9caa371513ea1a64e95a39389cb1c7a8dd;hb=c88172d6968a02a4e643b74cc419c0ac8168d92a;hp=dfe8be870a25ad55f0ac084c7d92709391b0b3c3;hpb=47941822dae18a018c985847b052e70214a3ccc6;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/server.c b/server.c index dfe8be8..e3149c9 100644 --- a/server.c +++ b/server.c @@ -11,6 +11,7 @@ #define _DEFAULT_SOURCE #include #include +#include volatile sig_atomic_t sig_stop; @@ -337,7 +338,9 @@ int main( int argc, char *argv[] ) /* TODO: Options to override, ammend, remove etc */ - vg_prealloc_quota( 80*1024*1024 ); + vg_set_mem_quota( 80*1024*1024 ); + vg_alloc_quota(); + highscores_init( 250000, 10000 ); if( !highscores_read() )