obo
authorChristian Grothoff <christian@grothoff.org>
Sat, 6 Nov 2010 21:16:57 +0000 (21:16 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 6 Nov 2010 21:16:57 +0000 (21:16 +0000)
src/fs/fs_uri.c

index ca516cc85abcb62ba2311b7a5c3b24cfff3be443..764a2bee3efbfafc753e3cb528a8a4dfb5b498b2 100644 (file)
@@ -1148,7 +1148,7 @@ GNUNET_FS_uri_ksk_merge (const struct GNUNET_FS_Uri *u1,
            break;
          }
       if (0 == found)
-       kl[kc++] = GNUNET_strdup (kp - 1);
+       kl[kc++] = GNUNET_strdup (kp);
     }
   ret = GNUNET_malloc (sizeof(struct GNUNET_FS_Uri));
   ret->type = ksk;