[Pkg-owncloud-commits] [owncloud-client] 02/120: Fixup ce5be89a1846b4b75ec8bfa98bdb594773983beb

Sandro Knauß hefee-guest at moszumanska.debian.org
Mon Aug 24 00:02:35 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 2a4396fbdb15da55ffed64e95e65e9ead87b5ba9
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Fri Aug 7 11:05:04 2015 +0200

    Fixup ce5be89a1846b4b75ec8bfa98bdb594773983beb
---
 csync/src/vio/csync_vio_local_unix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/csync/src/vio/csync_vio_local_unix.c b/csync/src/vio/csync_vio_local_unix.c
index 49cf7c5..e72eb4f 100644
--- a/csync/src/vio/csync_vio_local_unix.c
+++ b/csync/src/vio/csync_vio_local_unix.c
@@ -106,7 +106,7 @@ csync_vio_file_stat_t *csync_vio_local_readdir(csync_vio_handle_t *dhandle) {
   file_stat->name = c_utf8_from_locale(dirent->d_name);
   if (file_stat->name == NULL) {
       //file_stat->original_name = c_strdup(dirent->d_name);
-      if (asprintf(&file_stat->original_name, "%s/%s", handle->path, dirent->d_name)) {
+      if (asprintf(&file_stat->original_name, "%s/%s", handle->path, dirent->d_name) < 0) {
           goto err;
       }
       CSYNC_LOG(CSYNC_LOG_PRIORITY_WARN, "Invalid characters in file/directory name, please rename: \"%s\" (%s)",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list