projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
basic dead device and some comments for next time
[carveJwlIkooP6JGAAIwe30JlM.git]
/
server.c
diff --git
a/server.c
b/server.c
index dfe8be870a25ad55f0ac084c7d92709391b0b3c3..e3149c9caa371513ea1a64e95a39389cb1c7a8dd 100644
(file)
--- a/
server.c
+++ b/
server.c
@@
-11,6
+11,7
@@
#define _DEFAULT_SOURCE
#include <unistd.h>
#include <signal.h>
#define _DEFAULT_SOURCE
#include <unistd.h>
#include <signal.h>
+#include <time.h>
volatile sig_atomic_t sig_stop;
volatile sig_atomic_t sig_stop;
@@
-337,7
+338,9
@@
int main( int argc, char *argv[] )
/* TODO: Options to override, ammend, remove etc */
/* 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() )
highscores_init( 250000, 10000 );
if( !highscores_read() )