X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fnamecache%2Ftest_plugin_namecache.c;h=20900a3f60948eca6b575618d474174fdb03a744;hb=fe3cc0e1a6f83c6ba4e0e1ec1185f1173ff16570;hp=2b1a2d9f8e1c099747d58434d3751be597464ad8;hpb=bb5fe91d23b0938baa3c4f0e92a83df659df216a;p=oweals%2Fgnunet.git diff --git a/src/namecache/test_plugin_namecache.c b/src/namecache/test_plugin_namecache.c index 2b1a2d9f8..20900a3f6 100644 --- a/src/namecache/test_plugin_namecache.c +++ b/src/namecache/test_plugin_namecache.c @@ -2,20 +2,20 @@ This file is part of GNUnet. Copyright (C) 2012 GNUnet e.V. - GNUnet is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published - by the Free Software Foundation; either version 3, or (at your - option) any later version. + GNUnet is free software: you can redistribute it and/or modify it + under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, + or (at your option) any later version. GNUnet is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + Affero General Public License for more details. - You should have received a copy of the GNU General Public License - along with GNUnet; see the file COPYING. If not, write to the - Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + SPDX-License-Identifier: AGPL3.0-or-later */ /* * @file namecache/test_plugin_namecache.c @@ -102,7 +102,7 @@ run (void *cls, char *const *args, const char *cfgfile, int main (int argc, char *argv[]) { - char cfg_name[128]; + char cfg_name[PATH_MAX]; char *const xargv[] = { "test-plugin-namecache", "-c",