X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/bb257ec72911fa0418c7093863bac51d589419fa..8e7b972936edd8b538ca87014ce79a49071261d3:/src/eu/alefzero/webdav/ChunkFromFileChannelRequestEntity.java?ds=sidebyside diff --git a/src/eu/alefzero/webdav/ChunkFromFileChannelRequestEntity.java b/src/eu/alefzero/webdav/ChunkFromFileChannelRequestEntity.java index cea32a6c..13c11042 100644 --- a/src/eu/alefzero/webdav/ChunkFromFileChannelRequestEntity.java +++ b/src/eu/alefzero/webdav/ChunkFromFileChannelRequestEntity.java @@ -3,7 +3,7 @@ * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -30,6 +30,8 @@ import java.util.Set; import org.apache.commons.httpclient.methods.RequestEntity; +import com.owncloud.android.Log_OC; + import eu.alefzero.webdav.OnDatatransferProgressListener; import android.util.Log; @@ -123,7 +125,7 @@ public class ChunkFromFileChannelRequestEntity implements RequestEntity { } } catch (IOException io) { - Log.e(TAG, io.getMessage()); + Log_OC.e(TAG, io.getMessage()); throw new RuntimeException("Ugly solution to workaround the default policy of retries when the server falls while uploading ; temporal fix; really", io); }