about summary refs log tree commit diff stats
path: root/src/LYPrint.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2012-02-10 01:52:10 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2012-02-10 01:52:10 -0500
commit5307f5f9b8ef280d693fc38c1261fd7b3ffd94b1 (patch)
tree24fd5204c945357776458159e3806bea4e850ac6 /src/LYPrint.c
parent53628f60fd3902b835e8b6500bf5b4e2a584db97 (diff)
downloadlynx-snapshots-5307f5f9b8ef280d693fc38c1261fd7b3ffd94b1.tar.gz
snapshot of project "lynx", label v2-8-8dev_9m
Diffstat (limited to 'src/LYPrint.c')
-rw-r--r--src/LYPrint.c8
1 files changed, 4 insertions, 4 deletions
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 <HTUtils.h>
 #include <HTAccess.h>
@@ -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;
 
     /*