Changeset 293 in Main
- Timestamp:
- Oct 9, 2024, 7:50:45 PM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/server.c
r276 r293 527 527 char* host; 528 528 int port; 529 char* chrootpath; 529 530 struct tw_config_entry* vhost_entry; 530 531 strftime(date, 512, "%a, %d %b %Y %H:%M:%S %Z", tm); … … 590 591 vhost_entry = tw_vhost_match(host, port); 591 592 #ifdef HAS_CHROOT 592 ch ar* chrootpath = vhost_entry->chroot_path != NULL ? vhost_entry->chroot_path : config.root.chroot_path;593 chrootpath = vhost_entry->chroot_path != NULL ? vhost_entry->chroot_path : config.root.chroot_path; 593 594 if(chrootpath != NULL) { 594 595 if(chdir(chrootpath) == 0) {
Note:
See TracChangeset
for help on using the changeset viewer.