mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Push variable declaration where its needed.
This commit is contained in:
parent
41adbbdea7
commit
924a19b8ea
1 changed files with 2 additions and 1 deletions
|
@ -817,7 +817,6 @@ static int fetch_resource_list( const char *curi,
|
|||
time_t now;
|
||||
time_t time_diff;
|
||||
time_t time_diff_delta;
|
||||
const char *err = NULL;
|
||||
|
||||
/* do a propfind request and parse the results in the results function, set as callback */
|
||||
/* ret = ne_simple_propfind( dav_session.ctx, curi, depth, ls_props, results, fetchCtx ); */
|
||||
|
@ -892,6 +891,8 @@ static int fetch_resource_list( const char *curi,
|
|||
}
|
||||
|
||||
if( ret != NE_OK ) {
|
||||
const char *err = NULL;
|
||||
|
||||
err = ne_get_error( dav_session.ctx );
|
||||
DEBUG_WEBDAV("WRN: propfind named failed with %d, request error: %s", ret, err ? err : "<nil>");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue