Re: curl-library Digest, Vol 32, Issue 9
Date: Thu, 03 Apr 2008 10:15:46 -0400
On Wed, 2 Apr 2008, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Thu, 20 Mar 2008, Scott Barrett wrote:
>> > Here's a diff against version 1.98 of ssh.c that enables CURLOPT_NOBODY for
>> > SFTP. It sidesteps a transfer if you just want to perform file system
>> > manipulation (e.g., renaming, deleting, linking).
> (Sorry it's taken me ages to get to this.)
> ... did you really build and try this with a recent libcurl?
> ssh.c:1183: error: "struct ConnectBits" has no member named "no_body"
> -- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Version 7.18.0 was the most recent libcurl at the time. I see that urldata.h
(then at version 1.372) has been subsequently changed, dropping no_body from the
ConnectBits struct. Changing the (now) offending line from:
will remedy the issue.
I've been running happily with the changed version of ssh.c (in 7.18.0) since
Received on 2008-04-03