ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/URL/URLhandler.pm
(Generate patch)

Comparing COMP/SCRAM/src/URL/URLhandler.pm (file contents):
Revision 1.15.2.4 by williamc, Wed Aug 9 13:48:06 2000 UTC vs.
Revision 1.15.2.5 by williamc, Thu Aug 10 13:25:33 2000 UTC

# Line 73 | Line 73 | sub download {
73          print "Attempting download of ".$url->url()."\n";
74  
75          # Generate a location name if not provided
76 <        $nocache=1;
76 >        my $nocache=1;
77          if ( @_ ) {
78             $location=shift;
79             $nocache=0; # dont cache if downloaded to an external location
# Line 89 | Line 89 | sub download {
89  
90          # now register it in the cache if successful
91          if ( $file && $nocache) {
92 <          $self->{cache}->store($url->url(), $location);
92 >          #$self->{cache}->store($url->url(), $location);
93 >          $self->{cache}->store($url->url(), $file);
94          }
95          return ($url->url(), $file);
96   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines