]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/uxcons.c
rm some magic numbers in ssh_setup_portfwd()
[PuTTY.git] / unix / uxcons.c
index ef2866ccca5b56918b05928e4834be7cb96d684d..6579155ed0efdc7831ef9814dfe6e1d7a1927b2c 100644 (file)
@@ -198,7 +198,8 @@ int askalg(void *frontend, const char *algtype, const char *algname,
  * Ask whether to wipe a session log file before writing to it.
  * Returns 2 for wipe, 1 for append, 0 for cancel (don't log).
  */
-int askappend(void *frontend, Filename filename)
+int askappend(void *frontend, Filename filename,
+             void (*callback)(void *ctx, int result), void *ctx)
 {
     static const char msgtemplate[] =
        "The session log file \"%.*s\" already exists.\n"