From b3d5a46d3d0bef5f69a46b7916e90deb62bf75f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Sun, 9 Jan 2000 16:38:24 -0800 Subject: [PATCH] better output messages.. Rev: NT/tools/sprshd:1.18 --- NT/tools/sprshd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/NT/tools/sprshd b/NT/tools/sprshd index 1578fa978e..461698561f 100755 --- a/NT/tools/sprshd +++ b/NT/tools/sprshd @@ -109,8 +109,6 @@ void handle_incoming_connection(object(Stdio.File) io) string dir=cmd[0]; cmd=cmd[1..]; - write("Doing %s in %s\n",cmd*" ",dir); - while(sscanf(cmd[0],"%s=%s",string key, string val)) { // Magic @@ -144,9 +142,12 @@ void handle_incoming_connection(object(Stdio.File) io) { env[key]=val; } + werror("%s = %s\n",key,env[key]); cmd=cmd[1..]; } + write("Doing %s in %s\n",cmd*" ",dir); + switch(lower_case(cmd[0])) { case "mkdir": -- GitLab