[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1052 - GNUnet/src/util
From: |
grothoff |
Subject: |
[GNUnet-SVN] r1052 - GNUnet/src/util |
Date: |
Sun, 26 Jun 2005 05:03:46 -0700 (PDT) |
Author: grothoff
Date: 2005-06-26 05:03:43 -0700 (Sun, 26 Jun 2005)
New Revision: 1052
Modified:
GNUnet/src/util/daemon.c
Log:
off by one
Modified: GNUnet/src/util/daemon.c
===================================================================
--- GNUnet/src/util/daemon.c 2005-06-26 11:52:55 UTC (rev 1051)
+++ GNUnet/src/util/daemon.c 2005-06-26 12:03:43 UTC (rev 1052)
@@ -98,7 +98,7 @@
i--;
if ( i != -1 ) {
cp[i+1] = '\0';
- path = MALLOC(i+1+strlen("gnunetd"));
+ path = MALLOC(i+2+strlen("gnunetd"));
strcpy(path, cp);
strcat(path, "gnunetd");
if (ACCESS(path, X_OK) == 0) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1052 - GNUnet/src/util,
grothoff <=