set default chroot directory to "" (disabled)
Robert S. Edmonds
12 years ago
128 | 128 | init_outgoing_availports(cfg->outgoing_avail_ports, 65536); |
129 | 129 | if(!(cfg->username = strdup(UB_USERNAME))) goto error_exit; |
130 | 130 | #ifdef HAVE_CHROOT |
131 | if(!(cfg->chrootdir = strdup(CHROOT_DIR))) goto error_exit; | |
131 | if(!(cfg->chrootdir = strdup(""))) goto error_exit; | |
132 | 132 | #endif |
133 | 133 | if(!(cfg->directory = strdup(RUN_DIR))) goto error_exit; |
134 | 134 | if(!(cfg->logfile = strdup(""))) goto error_exit; |