diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-06-04 11:27:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-04 11:27:18 +0100 |
commit | 2684858c79877d81f8ec20b70abda43ca72f060d (patch) | |
tree | ae44c398c45789eee7b827eb8de71ad867002851 /ucb | |
parent | 3b55196fb07c9101f0f0f51895a8083cbf5e78fc (diff) |
fix build, bad merge
Change-Id: I153b5ac4c2c75aca055ef49920cbccf3bd7720d4
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/ftp/ftpurl.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx index 50309e9d37f9..6da2bf455067 100644 --- a/ucb/source/ucp/ftp/ftpurl.cxx +++ b/ucb/source/ucp/ftp/ftpurl.cxx @@ -411,7 +411,10 @@ oslFileHandle FTPURL::open() CURLcode err = curl_easy_perform(curl); if(err == CURLE_OK) - osl_setFilePos( res, osl_Pos_Absolut, 0 ); + { + oslFileError rc = osl_setFilePos( res, osl_Pos_Absolut, 0 ); + SAL_WARN_IF(rc != osl_File_E_None, "ucb", "osl_setFilePos failed"); + } else { osl_closeFile(res),res = 0; throw curl_exception(err); |