aboutsummaryrefslogtreecommitdiff
path: root/src/datacache/test_datacache.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/datacache/test_datacache.c
parentf902ec42f6e2703c11a0cad9d19237c4bced8b3e (diff)
downloadgnunet-91b0d53f8835bd274997eddb28b74ebc5ef00340.tar.gz
gnunet-91b0d53f8835bd274997eddb28b74ebc5ef00340.zip
filenames can exceed 128 bytes, even in testcases
Diffstat (limited to 'src/datacache/test_datacache.c')
-rw-r--r--src/datacache/test_datacache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datacache/test_datacache.c b/src/datacache/test_datacache.c
index e647ae833..d62a31c27 100644
--- a/src/datacache/test_datacache.c
+++ b/src/datacache/test_datacache.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
@@ -155,7 +155,7 @@ FAILURE:
155int 155int
156main (int argc, char *argv[]) 156main (int argc, char *argv[])
157{ 157{
158 char cfg_name[128]; 158 char cfg_name[PATH_MAX];
159 char *const xargv[] = { 159 char *const xargv[] = {
160 "test-datacache", 160 "test-datacache",
161 "-c", 161 "-c",