[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet-nim] 50/61: load config file in release mode too (f
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet-nim] 50/61: load config file in release mode too (fixes segfault) |
Date: |
Sat, 13 Apr 2019 13:36:25 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnunet-nim.
commit 716b7a96e6f15d5812f9c8ecb1c0344309246622
Author: lurchi <address@hidden>
AuthorDate: Sat Aug 11 15:55:34 2018 +0200
load config file in release mode too (fixes segfault)
---
gnunet_application.nim | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnunet_application.nim b/gnunet_application.nim
index 3695912..83f253e 100644
--- a/gnunet_application.nim
+++ b/gnunet_application.nim
@@ -81,7 +81,8 @@ proc initGnunetApplication*(configFile: string): ref
GnunetApplication =
app.schedulerHandle = GNUNET_SCHEDULER_driver_init(addr app.schedulerDriver)
app.configHandle = GNUNET_CONFIGURATION_create()
app.connectFutures = initTable[string, FutureBase]()
- assert(GNUNET_SYSERR != GNUNET_CONFIGURATION_load(app.configHandle,
configFile))
+ let loadResult = GNUNET_CONFIGURATION_load(app.configHandle, configFile)
+ assert(GNUNET_SYSERR != loadResult)
return app
proc shutdownGnunetApplication*() =
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet-nim] 44/61: add peer ID string functions, (continued)
- [GNUnet-SVN] [gnunet-nim] 44/61: add peer ID string functions, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 45/61: use peer IDs as chat identifiers, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 48/61: Makefile to clean the build., gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 52/61: workaround for missing notification about disconnected cadet channels, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 09/61: fix compilation, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 60/61: Start of a nimble file, should probably drop nake later on., gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 49/61: added date and time string to output, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 10/61: fix compilation (2), gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 23/61: receiving of cadet messages possible now, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 51/61: Merge branch 'master' of ssh://gnunet.org/gnunet-nim, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 50/61: load config file in release mode too (fixes segfault),
gnunet <=
- [GNUnet-SVN] [gnunet-nim] 36/61: use immutable variables where possible, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 33/61: add support for input and output file, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 54/61: try out nimbox, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 55/61: Revert "try out nimbox", gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 57/61: Add nakefile, nim.cfg, and ignore more things, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 47/61: examples/{start, stop}_peers: Use /bin/sh, tested and checked against Bash and shellcheck., gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 61/61: nimble, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 42/61: add first version of groupchat application, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 41/61: move example applications / scripts / config files to example folder, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 59/61: gitignore, gnunet, 2019/04/13