From 5307f5f9b8ef280d693fc38c1261fd7b3ffd94b1 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Fri, 10 Feb 2012 01:52:10 -0500 Subject: snapshot of project "lynx", label v2-8-8dev_9m --- src/LYPrint.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/LYPrint.c') diff --git a/src/LYPrint.c b/src/LYPrint.c index a9af8135..1cea439f 100644 --- a/src/LYPrint.c +++ b/src/LYPrint.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYPrint.c,v 1.93 2012/02/08 23:40:43 tom Exp $ + * $LynxId: LYPrint.c,v 1.95 2012/02/09 18:55:26 tom Exp $ */ #include #include @@ -328,14 +328,14 @@ static void send_file_to_file(DocInfo *newdoc, break; } - if (!LYValidateFilename(buffer, filename)) { + if (!LYValidateFilename(&buffer, &filename)) { CancelPrint(SAVE_REQUEST_CANCELLED); } /* * See if it already exists. */ - switch (LYValidateOutput(buffer->str)) { + switch (c = LYValidateOutput(buffer->str)) { case 'Y': break; case 'N': @@ -1411,7 +1411,7 @@ char *GetFileName(void) * Expand tilde's, make filename absolute, etc. */ BStrCopy0(tbuf, ""); - if (!LYValidateFilename(tbuf, fbuf)) + if (!LYValidateFilename(&tbuf, &fbuf)) goto cleanup; /* -- cgit 1.4.1-2-gfad0