tDropPrivileges should be a noop on Windows - vaccinewars - be a doctor and try to vaccinate the world
 (HTM) git clone git://src.adamsgaard.dk/vaccinewars
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 48ba9b282a4425b50032204206e7ad37436db7f0
 (DIR) parent 490a82064c3a95b4f0e9854059ea9b8ae884e915
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Sat,  7 Nov 2020 00:36:39 -0800
       
       DropPrivileges should be a noop on Windows
       
       Diffstat:
         M src/serverside.c                    |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/serverside.c b/src/serverside.c
       t@@ -1797,9 +1797,9 @@ void CloseHighScoreFile()
         */
        void DropPrivileges()
        {
       +#ifndef CYGWIN
          if (issetugid() == 0) return;
        
       -#ifndef CYGWIN
          /* Ignore the return from setregid; we'll check it ourselves to be sure
           * (this avoids problems when running under fakeroot) */
          setregid(getgid(), getgid());