common: Rework the simple password query module.
[gnupg.git] / tools / gpgtar-extract.c
index 866215b..cee609c 100644 (file)
@@ -282,7 +282,7 @@ gpgtar_extract (const char *filename, int decrypt)
   if (filename)
     {
       if (!strcmp (filename, "-"))
-        stream = es_stdout;
+        stream = es_stdin;
       else
         stream = es_fopen (filename, "rb");
       if (!stream)