From 1fbe6b6c96235e9eee10b5725f0bc25a266913a5 Mon Sep 17 00:00:00 2001 From: Christian Jann Date: Fri, 1 Apr 2011 16:10:31 +0200 Subject: [PATCH] Better way to fix bug "Found a bug but no bugtracker" --- modules/csync_sftp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/csync_sftp.c b/modules/csync_sftp.c index 06c0fbe68..7a58bb08d 100644 --- a/modules/csync_sftp.c +++ b/modules/csync_sftp.c @@ -141,6 +141,9 @@ static int _sftp_portable_to_errno(int sftp_errno) { case SSH_FX_BAD_MESSAGE: rc = EINVAL; break; + case SSH_FX_FAILURE: + rc = ENOTEMPTY; + break; default: rc = EIO; break;