]> git.saurik.com Git - apt.git/blobdiff - methods/cdrom.cc
call URIStart in cdrom and file method
[apt.git] / methods / cdrom.cc
index 10cb29f662be05318858e671a382792d283d87bd..67265cfa37afc644459b000c8b35440b9c9d3340 100644 (file)
@@ -260,7 +260,8 @@ bool CDROMMethod::Fetch(FetchItem *Itm)
    struct stat Buf;
    if (stat(Res.Filename.c_str(),&Buf) != 0)
       return _error->Error(_("File not found"));
    struct stat Buf;
    if (stat(Res.Filename.c_str(),&Buf) != 0)
       return _error->Error(_("File not found"));
-   
+
+   URIStart(Res);
    if (NewID.empty() == false)
       CurrentID = NewID;
    Res.LastModified = Buf.st_mtime;
    if (NewID.empty() == false)
       CurrentID = NewID;
    Res.LastModified = Buf.st_mtime;