gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r3991 - gnunet-gtk/src/plugins/daemon


From: durner
Subject: [GNUnet-SVN] r3991 - gnunet-gtk/src/plugins/daemon
Date: Thu, 21 Dec 2006 07:37:26 -0800 (PST)

Author: durner
Date: 2006-12-21 07:37:21 -0800 (Thu, 21 Dec 2006)
New Revision: 3991

Modified:
   gnunet-gtk/src/plugins/daemon/daemon.c
Log:
fix Win

Modified: gnunet-gtk/src/plugins/daemon/daemon.c
===================================================================
--- gnunet-gtk/src/plugins/daemon/daemon.c      2006-12-21 05:25:19 UTC (rev 
3990)
+++ gnunet-gtk/src/plugins/daemon/daemon.c      2006-12-21 15:37:21 UTC (rev 
3991)
@@ -175,6 +175,7 @@
                                          "",
                                          &user);
        if (strlen(user) > 0) {
+#ifndef WINDOWS
          if (NULL == (pws = getpwnam(user))) {
            canStart = 0;
          } else {
@@ -183,6 +184,9 @@
            else
              canStart = 1;
          }
+#else
+       canStart = 1;
+#endif
        }
        FREE(user);
        GC_free(dcfg);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]