fix the SHM log size

This commit is contained in:
Michael Stapelberg
2011-12-10 11:15:57 +00:00
parent d034248de0
commit f7a73f4a68
2 changed files with 2 additions and 3 deletions

View File

@ -284,8 +284,7 @@ int main(int argc, char *argv[]) {
debug_build = ((strchr(I3_VERSION, '(') - I3_VERSION) > 10);
/* On non-release builds, disable SHM logging by default. */
if (!debug_build)
shmlog_size = 0;
shmlog_size = (debug_build ? 25 * 1024 * 1024 : 0);
start_argv = argv;