Codebase list unbound / 66bb04a
set default chroot directory to "" (disabled) Robert S. Edmonds 12 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
128128 init_outgoing_availports(cfg->outgoing_avail_ports, 65536);
129129 if(!(cfg->username = strdup(UB_USERNAME))) goto error_exit;
130130 #ifdef HAVE_CHROOT
131 if(!(cfg->chrootdir = strdup(CHROOT_DIR))) goto error_exit;
131 if(!(cfg->chrootdir = strdup(""))) goto error_exit;
132132 #endif
133133 if(!(cfg->directory = strdup(RUN_DIR))) goto error_exit;
134134 if(!(cfg->logfile = strdup(""))) goto error_exit;