[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r7648 - GNUnet/src/applications/identity
From: |
gnunet |
Subject: |
[GNUnet-SVN] r7648 - GNUnet/src/applications/identity |
Date: |
Sun, 31 Aug 2008 21:03:29 -0600 (MDT) |
Author: grothoff
Date: 2008-08-31 21:03:29 -0600 (Sun, 31 Aug 2008)
New Revision: 7648
Modified:
GNUnet/src/applications/identity/identity.c
Log:
fix
Modified: GNUnet/src/applications/identity/identity.c
===================================================================
--- GNUnet/src/applications/identity/identity.c 2008-09-01 03:00:46 UTC (rev
7647)
+++ GNUnet/src/applications/identity/identity.c 2008-09-01 03:03:29 UTC (rev
7648)
@@ -337,7 +337,10 @@
return GNUNET_OK;
}
filename = &fullname[strlen(fullname) + 1 - sizeof(GNUNET_EncName)];
- if (filename[-1] != DIR_SEPARATOR)
+ while ( (filename[-1] != DIR_SEPARATOR) &&
+ (filename > fullname) )
+ filename--;
+ if (filename[-1] != DIR_SEPARATOR)
{
remove_garbage(fullname);
return GNUNET_OK;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r7648 - GNUnet/src/applications/identity,
gnunet <=