aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/test_plugin_datastore.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/test_plugin_datastore.c
parentf902ec42f6e2703c11a0cad9d19237c4bced8b3e (diff)
downloadgnunet-91b0d53f8835bd274997eddb28b74ebc5ef00340.tar.gz
gnunet-91b0d53f8835bd274997eddb28b74ebc5ef00340.zip
filenames can exceed 128 bytes, even in testcases
Diffstat (limited to 'src/datastore/test_plugin_datastore.c')
-rw-r--r--src/datastore/test_plugin_datastore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/datastore/test_plugin_datastore.c b/src/datastore/test_plugin_datastore.c
index 4b054314c..c37b8ddb9 100644
--- a/src/datastore/test_plugin_datastore.c
+++ b/src/datastore/test_plugin_datastore.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
@@ -436,8 +436,8 @@ run (void *cls, char *const *args, const char *cfgfile,
436int 436int
437main (int argc, char *argv[]) 437main (int argc, char *argv[])
438{ 438{
439 char dir_name[128]; 439 char dir_name[PATH_MAX];
440 char cfg_name[128]; 440 char cfg_name[PATH_MAX];
441 char *const xargv[] = { 441 char *const xargv[] = {
442 "test-plugin-datastore", 442 "test-plugin-datastore",
443 "-c", 443 "-c",