diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-04-10 20:48:46 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-04-10 20:48:46 +0200 |
commit | ee35363d3dc4888592d29a205c7036451965250d (patch) | |
tree | b6e97d23fa1736794f52f74d6f68bbeda1ca49e9 /src/namestore/plugin_namestore_postgres.c | |
parent | bb7e8254409c774653216dd3d16a3416e2707017 (diff) |
minor bugfixes
Diffstat (limited to 'src/namestore/plugin_namestore_postgres.c')
-rw-r--r-- | src/namestore/plugin_namestore_postgres.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/plugin_namestore_postgres.c b/src/namestore/plugin_namestore_postgres.c index de8d76853d..9c6d05a212 100644 --- a/src/namestore/plugin_namestore_postgres.c +++ b/src/namestore/plugin_namestore_postgres.c @@ -1,6 +1,6 @@ /* * This file is part of GNUnet - * Copyright (C) 2009-2013, 2016, 2017 GNUnet e.V. + * Copyright (C) 2009-2013, 2016-2018 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 @@ -319,7 +319,7 @@ parse_result_call_iterator (void *cls, } { - struct GNUNET_GNSRECORD_Data rd[record_count]; + struct GNUNET_GNSRECORD_Data rd[GNUNET_NZL(record_count)]; if (GNUNET_OK != GNUNET_GNSRECORD_records_deserialize (data_size, |