vx32

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

commit fdf56b7881c09578fadbf483e96912ccdfa1ff37
parent 2e3c2eaf6479d04ef5e64fe6bdfc6bd78abdc663
Author: Jesus Galan Lopez (yiyus) <yiyu.jgl@gmail.com>
Date:   Sat, 12 Jun 2010 16:31:56 +0200

fix -n arguments handling

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

diff --git a/src/9vx/main.c b/src/9vx/main.c @@ -162,6 +162,11 @@ main(int argc, char **argv) nettap = 1; netdev = ARGF(); } + if(netdev != 0 && netdev[0] == '-'){ + netdev = nil; + argc++; + *argv--; + } break; case 'm': vether = 1;