[Pkg-owncloud-commits] [owncloud-client] 280/498: Fix comment for c_path_to_UNC, plus cleanup of superflous debug.

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Aug 11 14:48:58 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 c7ba7c8e9f0b8f1938c2d26a1a3e97637115173b
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Tue Jul 7 21:03:28 2015 +0200

    Fix comment for c_path_to_UNC, plus cleanup of superflous debug.
---
 csync/src/std/c_path.c     | 5 +----
 src/libsync/filesystem.cpp | 1 -
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/csync/src/std/c_path.c b/csync/src/std/c_path.c
index 5bdb879..140a784 100644
--- a/csync/src/std/c_path.c
+++ b/csync/src/std/c_path.c
@@ -402,10 +402,7 @@ int c_parse_uri(const char *uri,
  *  - A conversion is only done if the path len is larger than 245. Otherwise
  *    the windows API functions work with the normal "unixoid" representation too.
  *
- * Since the function reallocs memory that it can not free itself, the number of
- * newly allocated bytes are returned in parameter mem_reserved. The calling
- * function will call free on the result pointer if mem_reserved is > 0.
- *
+ *  This function allocates memory that must be freed by the caller.
  */
  const char *c_path_to_UNC(const char *str)
  {
diff --git a/src/libsync/filesystem.cpp b/src/libsync/filesystem.cpp
index f0bd3f0..62484fc 100644
--- a/src/libsync/filesystem.cpp
+++ b/src/libsync/filesystem.cpp
@@ -266,7 +266,6 @@ bool FileSystem::uncheckedRenameReplace(const QString& originFileName,
     QString orig = longWinPath(originFileName);
     QString dest = longWinPath(destinationFileName);
 
-    qDebug() << "** MOVE: " << orig;
     ok = MoveFileEx((wchar_t*)orig.utf16(),
                     (wchar_t*)dest.utf16(),
                     MOVEFILE_REPLACE_EXISTING+MOVEFILE_COPY_ALLOWED+MOVEFILE_WRITE_THROUGH);

-- 
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