]> sjero.net Git - wget/commitdiff
Fix using deadcode and possible use of NULL pointer
authorTomas Hozza <thozza@redhat.com>
Fri, 26 Apr 2013 12:42:30 +0000 (14:42 +0200)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Wed, 10 Jul 2013 21:04:25 +0000 (23:04 +0200)
Fix for deadcode in unique_create() so that "opened_name" parameter is
always initialized to a valid string or NULL when returning from
function.

Fix for redirect_output() so that "logfile" is not blindly used in
fprintf() call and checked if it is not NULL.

Signed-off-by: Tomas Hozza <thozza@redhat.com>

No differences found