Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 292312 | Differences between
and this patch

Collapse All | Expand All

(-)nikto_core.plugin.orig (-1 / +1 lines)
Lines 1482-1488 Link Here
1482
  nprint "+ Retrieving 'CHANGES.txt'\n";
1482
  nprint "+ Retrieving 'CHANGES.txt'\n";
1483
  (my $RES, $CONTENT) = fetch("$serverdir/CHANGES.txt","GET");
1483
  (my $RES, $CONTENT) = fetch("$serverdir/CHANGES.txt","GET");
1484
  if (($CONTENT ne "") && ($RES eq 200)) {
1484
  if (($CONTENT ne "") && ($RES eq 200)) {
1485
   open(OUT,">$NIKTOCONFIG{DOCUMENTDIR}/CHANGES.txt") || die print STDERR "+ ERROR: Unable to open '$NIKTOCONFIG{DOCUMENTDIR}/CHANGES.txt' for write: $@\n";
1485
   open(OUT,">$NIKTOCONFIG{PLUGINDIR}/CHANGES.txt") || die print STDERR "+ ERROR: Unable to open '$NIKTOCONFIG{PLUGINDIR}/CHANGES.txt' for write: $@\n";
1486
   print OUT $CONTENT;
1486
   print OUT $CONTENT;
1487
   close(OUT); 
1487
   close(OUT); 
1488
  }
1488
  }

Return to bug 292312