diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-02-17 15:07:24 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-02-17 15:07:24 +0100 |
commit | 91b0d53f8835bd274997eddb28b74ebc5ef00340 (patch) | |
tree | a26ce549c872db5d9a31d5756a2bf657de739a75 /src/namecache | |
parent | f902ec42f6e2703c11a0cad9d19237c4bced8b3e (diff) | |
download | gnunet-91b0d53f8835bd274997eddb28b74ebc5ef00340.tar.gz gnunet-91b0d53f8835bd274997eddb28b74ebc5ef00340.zip |
filenames can exceed 128 bytes, even in testcases
Diffstat (limited to 'src/namecache')
-rw-r--r-- | src/namecache/test_plugin_namecache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namecache/test_plugin_namecache.c b/src/namecache/test_plugin_namecache.c index c2a630a46..20900a3f6 100644 --- a/src/namecache/test_plugin_namecache.c +++ b/src/namecache/test_plugin_namecache.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 | ||
@@ -102,7 +102,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
102 | int | 102 | int |
103 | main (int argc, char *argv[]) | 103 | main (int argc, char *argv[]) |
104 | { | 104 | { |
105 | char cfg_name[128]; | 105 | char cfg_name[PATH_MAX]; |
106 | char *const xargv[] = { | 106 | char *const xargv[] = { |
107 | "test-plugin-namecache", | 107 | "test-plugin-namecache", |
108 | "-c", | 108 | "-c", |