#86 Bug in dav_head?

closed-fixed
None
5
2009-05-03
2008-08-07
Anonymous
No

On line 763-765 of webdav.c:
value = ne_get_response_header(req, "Content-Length");
if (ret == 0 && length != 0 && value != NULL)
*mtime = strtol(value, NULL, 10);

I'm pretty sure 765 this is supposed to be:
*length = strtol(value, NULL, 10);

--Steven Stanek (sstanek@covariable.com)

Discussion

  • Werner Baumann
    Werner Baumann
    2008-08-08

    Logged In: YES
    user_id=1260327
    Originator: NO

    Hello Steven,

    you're pretty sure right.
    I corrected it in CVS.

    Thanks
    Werner

     
  • Werner Baumann
    Werner Baumann
    2008-08-08

    • assigned_to: nobody --> wbaumann
    • status: open --> closed-fixed
     
  • Werner Baumann
    Werner Baumann
    2008-08-08

    • status: closed-fixed --> open-fixed
     
  • Werner Baumann
    Werner Baumann
    2009-05-03

    • status: open-fixed --> closed-fixed
     
  • Werner Baumann
    Werner Baumann
    2009-05-03

    I believe the bug is fixed in version 1.4.0.
    Please note that the davfs2 project moved to
    http://savannah.nongnu.org/projects/davfs2

    Cheers
    Werner