Changeset 136 in Main for trunk


Ignore:
Timestamp:
Sep 23, 2024, 8:03:55 PM (8 weeks ago)
Author:
Nishi
Message:

show vhost instead of hostname if it can

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/server.c

    r135 r136  
    514514                        if(vhost[i] == ':') {
    515515                                host[i] = 0;
    516                                 name = host;
    517516                                port = atoi(host + i + 1);
    518517                                break;
    519518                        }
    520519                }
     520                name = host;
    521521                cm_log("Server", "Hostname is `%s', port is `%d'", host, port);
    522522                struct tw_config_entry* vhost_entry = tw_vhost_match(host, port);
Note: See TracChangeset for help on using the changeset viewer.