[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet-nim] branch master updated: load config file in rel
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet-nim] branch master updated: load config file in release mode too (fixes segfault) |
Date: |
Sat, 11 Aug 2018 15:56:52 +0200 |
This is an automated email from the git hooks/post-receive script.
lurchi pushed a commit to branch master
in repository gnunet-nim.
The following commit(s) were added to refs/heads/master by this push:
new 716b7a9 load config file in release mode too (fixes segfault)
new 7ed9750 Merge branch 'master' of ssh://gnunet.org/gnunet-nim
716b7a9 is described below
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet-nim] branch master updated: load config file in release mode too (fixes segfault),
gnunet <=