X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fmain.c;h=b8039d6b16b1526a31423fd0c6e0a72ce089f674;hp=7388291899abc3eff8ec3b46c5e562d00d34c8cb;hb=94d6650817110c639975d45df57b345e10b0e396;hpb=8d07fbcc9f653e36e7c9f8924baac0dafbcae62d diff --git a/src/main.c b/src/main.c index 73882918..b8039d6b 100644 --- a/src/main.c +++ b/src/main.c @@ -1,6 +1,6 @@ /* Command line parsing. Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, - 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GNU Wget. @@ -1124,7 +1124,7 @@ for details.\n\n")); { #ifdef WINDOWS FILE *result; - result = freopen (NULL, "wb", stdout); + result = freopen ("CONOUT$", "wb", stdout); if (result == NULL) { logputs (LOG_NOTQUIET, _("\