aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/perf_datastore_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-02-17 15:07:24 +0100
committerChristian Grothoff <christian@grothoff.org>2019-02-17 15:07:24 +0100
commit91b0d53f8835bd274997eddb28b74ebc5ef00340 (patch)
treea26ce549c872db5d9a31d5756a2bf657de739a75 /src/datastore/perf_datastore_api.c
parentf902ec42f6e2703c11a0cad9d19237c4bced8b3e (diff)
downloadgnunet-91b0d53f8835bd274997eddb28b74ebc5ef00340.tar.gz
gnunet-91b0d53f8835bd274997eddb28b74ebc5ef00340.zip
filenames can exceed 128 bytes, even in testcases
Diffstat (limited to 'src/datastore/perf_datastore_api.c')
-rw-r--r--src/datastore/perf_datastore_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datastore/perf_datastore_api.c b/src/datastore/perf_datastore_api.c
index 939e60e4d..2c261b155 100644
--- a/src/datastore/perf_datastore_api.c
+++ b/src/datastore/perf_datastore_api.c
@@ -11,7 +11,7 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
@@ -595,7 +595,7 @@ int
595main (int argc, 595main (int argc,
596 char *argv[]) 596 char *argv[])
597{ 597{
598 char cfg_name[128]; 598 char cfg_name[PATH_MAX];
599 599
600 plugin_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]); 600 plugin_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]);
601 GNUNET_snprintf (cfg_name, 601 GNUNET_snprintf (cfg_name,