SFTP mkdir: use correct permission
authorDaniel Stenberg <daniel@haxx.se>
Fri, 23 Dec 2011 22:54:13 +0000 (23:54 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 23 Dec 2011 23:04:04 +0000 (00:04 +0100)
commit5ac9ec7205a1df753ecd8827f63878a445c44d6a
treef8ba6be22793a76f850c6dbce1a7559b5f919cec
parentf8cd217f0403a8fbe61b7563c07b99c5695da341
SFTP mkdir: use correct permission

When sending quote command to a SFTP server and 'mkdir' was used, it
would send fixed permissions and not use the CURLOPT_NEW_DIRECTORY_PERMS
as it should.

Reported by: Armel
Patch by: Armel
Bug: http://curl.haxx.se/mail/lib-2011-12/0249.html
lib/ssh.c