When giving authorisation errors from the proxy code in x11fwd.c,
[u/mdw/putty] / pscp.c
diff --git a/pscp.c b/pscp.c
index 3ef1b33..ab3077b 100644 (file)
--- a/pscp.c
+++ b/pscp.c
@@ -50,6 +50,8 @@ static void source(char *src);
 static void rsource(char *src);
 static void sink(char *targ, char *src);
 
+const char *const appname = "PSCP";
+
 /*
  * The maximum amount of queued data we accept before we stop and
  * wait for the server to process some.
@@ -2091,7 +2093,7 @@ static void get_dir_list(int argc, char *argv[])
     host = src;
     src = colon(src);
     if (src == NULL)
-       bump("Local to local copy not supported");
+       bump("Local file listing not supported");
     *src++ = '\0';
     if (*src == '\0')
        src = ".";