projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e67751
)
csync_update: fix assert
author
Olivier Goffart
<ogoffart@woboq.com>
Sat, 23 Sep 2017 12:01:07 +0000
(14:01 +0200)
committer
Roeland Jago Douma
<roeland@famdouma.nl>
Thu, 5 Oct 2017 20:01:36 +0000
(22:01 +0200)
Amend
1dc44c0f62bb3f6e50156cd08c1a2a82d67c0d0d
src/csync/csync_update.cpp
patch
|
blob
|
history
diff --git
a/src/csync/csync_update.cpp
b/src/csync/csync_update.cpp
index ffe00d59adffe4543cef356376b68871118c49b6..c42eaa9280cfae22f73c3a50347ecfa1be5011a5 100644
(file)
--- a/
src/csync/csync_update.cpp
+++ b/
src/csync/csync_update.cpp
@@
-517,7
+517,7
@@
int csync_ftw(CSYNC *ctx, const char *uri, csync_walker_fn fn,
}
} else if(errno == ENOENT) {
asp = asprintf( &ctx->error_string, "%s", uri);
- ASSERT(asp);
+ ASSERT(asp
>= 0
);
}
// 403 Forbidden can be sent by the server if the file firewall is active.
// A file or directory should be ignored and sync must continue. See #3490