[BACK]Return to dgl-common.c CVS log [TXT][DIR] Up to [contributed] / dgamelaunch-openbsd

Diff for /dgamelaunch-openbsd/dgl-common.c between version 1.1 and 1.2

version 1.1, 2021/03/09 14:35:59 version 1.2, 2021/04/02 09:58:15
Line 846  create_config ()
Line 846  create_config ()
   if (!globalconfig.banner)  globalconfig.banner = "/dgl-banner";    if (!globalconfig.banner)  globalconfig.banner = "/dgl-banner";
   
 #ifndef USE_SQLITE3  #ifndef USE_SQLITE3
   if (!globalconfig.passwd) globalconfig.passwd = "/dgl-login";    if (!globalconfig.passwd) globalconfig.passwd = "/dgldir/dgl-login";
 #else  #else
   if (!globalconfig.passwd) globalconfig.passwd = USE_SQLITE_DB;    if (!globalconfig.passwd) globalconfig.passwd = USE_SQLITE_DB;
 #endif  #endif
   if (!globalconfig.lockfile) globalconfig.lockfile = "/dgl-lock";    if (!globalconfig.lockfile) globalconfig.lockfile = "/dgldir/dgl-lock";
   if (!globalconfig.shed_user && globalconfig.shed_uid == (uid_t)-1)    if (!globalconfig.shed_user && globalconfig.shed_uid == (uid_t)-1)
           {            {
               struct passwd *pw;                struct passwd *pw;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb