Changeset 315 in Main for trunk/Server/config.c


Ignore:
Timestamp:
Oct 14, 2024, 7:01:02 PM (5 weeks ago)
Author:
Nishi
Message:

wip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/config.c

    r312 r315  
    1010#include <string.h>
    1111#include <sys/stat.h>
     12#include <errno.h>
    1213
    1314#if !defined(_MSC_VER) && !defined(__BORLANDC__)
     
    125126#elif defined(__ps2sdk__)
    126127        strcpy(config.hostname, "ps2");
     128#elif defined(__NETWARE__)
     129        strcpy(config.hostname, "netware");
    127130#else
    128131        gethostname(config.hostname, 1024);
     
    584587                }
    585588        } else {
     589                printf("%d\n", errno);
    586590                cm_log("Config", "Could not open the file");
    587591                return 1;
Note: See TracChangeset for help on using the changeset viewer.