View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005776 | GNUnet | other | public | 2019-06-26 00:35 | 2019-08-08 19:31 |
Reporter | marado | Assigned To | t3sserakt | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Product Version | Git master | ||||
Summary | 0005776: groupchat fails to build | ||||
Description | git clone git://gnunet.org/groupchat.git followed by make fails to build, due to some coding style errors. | ||||
Steps To Reproduce | git clone git://gnunet.org/groupchat.git && cd groupchat && make fails with ... groupchat.nim(81, 21) Error: invalid indentation I am providing a patch fixing this. | ||||
Additional Information | There's no easy information available on how to contribute to groupchat, I am hopeful this is the right way to do it. | ||||
Tags | No tags attached. | ||||
Attached Files | 0001-Fixed-coding-style-errors.patch (1,267 bytes)
From fe3cd1163b24ff6e10bf06d7d83f63a04e80f67a Mon Sep 17 00:00:00 2001 From: Marcos Marado <mindboosternoori@gmail.com> Date: Tue, 25 Jun 2019 23:22:19 +0100 Subject: [PATCH] Fixed coding style errors --- src/groupchat.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/groupchat.nim b/src/groupchat.nim index db59045..64b0386 100644 --- a/src/groupchat.nim +++ b/src/groupchat.nim @@ -78,8 +78,8 @@ proc firstTask(gnunetApp: ref GnunetApplication, processClientMessages(channel, chat).addCallback(channelDisconnected) proc main() = - var home = getEnv ("HOME") var server, port, configfile: string + var home = getEnv("HOME") var optParser = initOptParser() for kind, key, value in optParser.getopt(): @@ -93,10 +93,10 @@ proc main() = assert(false) # Check for existing config - if not (fileExists (configfile)): - if fileExists (home & "/.config/gnunet.conf"): + if not (fileExists(configfile)): + if fileExists(home & "/.config/gnunet.conf"): configfile = home & "/.config/gnunet.conf" - elif fileExists ("/etc/gnunet.conf"): + elif fileExists("/etc/gnunet.conf"): configfile = "/etc/gnunet.conf" else: echo "I need a config file to use." -- 2.20.1 | ||||