vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

commit 4da0767d9990fa894dc3d6d94fc5650579a52404
parent c4ae9b58794d90a67ad8879bae192d10dbfe297c
Author: Jesus Galan Lopez (yiyus) <yiyu.jgl@gmail.com>
Date:   Fri, 25 Jun 2010 00:53:35 +0200

fix (i should test before commiting...)

Diffstat:
src/9vx/main.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/9vx/main.c b/src/9vx/main.c @@ -91,9 +91,9 @@ main(int argc, char **argv) coherence = nop; quotefmtinstall(); + inifile = nil; memset(iniline, 0, MAXCONF); memsize = 0; - n = 0; nogui = 0; nofork = 0; nve = 0; @@ -172,7 +172,7 @@ main(int argc, char **argv) usage(); }ARGEND - if(inifile && readini(inifile) != 0) + if(inifile != nil && readini(inifile) != 0) panic("error reading config file %s", inifile); bootargc = argc;