do not add '/' to load path
authorChristian Grothoff <christian@grothoff.org>
Fri, 17 Jan 2020 11:12:56 +0000 (12:12 +0100)
committerChristian Grothoff <christian@grothoff.org>
Fri, 17 Jan 2020 11:12:56 +0000 (12:12 +0100)
src/pq/pq_connect.c

index d7625f808df2af58b3787d32641eaa8b50d4212d..fe9cde1fad8c99bf7aa76d372b8e7597bb5c0088 100644 (file)
@@ -194,7 +194,7 @@ GNUNET_PQ_reconnect (struct GNUNET_PQ_Context *db)
 
       GNUNET_snprintf (buf,
                        sizeof (buf),
-                       "%s/%04u.sql",
+                       "%s%04u.sql",
                        db->load_path,
                        i);
       if (GNUNET_YES !=