aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2013-06-17 16:31:13 -0600
committerdaneren2005 <daneren2005@gmail.com>2013-06-17 16:31:13 -0600
commit364e0ba02e3344025ba174f73af303c6f777975f (patch)
tree8de8d7c1dce698ddd0d01f55feddc34e37e4c736 /subsonic-android/src/github
parentb23a47f7eeda549a1898571bef61026e4003e04d (diff)
downloaddsub-364e0ba02e3344025ba174f73af303c6f777975f.tar.gz
dsub-364e0ba02e3344025ba174f73af303c6f777975f.tar.bz2
dsub-364e0ba02e3344025ba174f73af303c6f777975f.zip
Fix typo on stripping out log info
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/RESTMusicService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/RESTMusicService.java b/subsonic-android/src/github/daneren2005/dsub/service/RESTMusicService.java
index 8beacfcb..ee8a384c 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/RESTMusicService.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/RESTMusicService.java
@@ -983,7 +983,7 @@ public class RESTMusicService implements MusicService {
List<String> parameterNames, List<Object> parameterValues,
List<Header> headers, ProgressListener progressListener, CancellableTask task) throws IOException {
// Strip out sensitive information from log
- Log.i(TAG, "Using URL " + url.substring(0, url.indexOf("&u")) + url.substring(url.indexOf("&v")));
+ Log.i(TAG, "Using URL " + url.substring(0, url.indexOf("?u=") + 1) + url.substring(url.indexOf("&v=") + 1));
SharedPreferences prefs = Util.getPreferences(context);
int networkTimeout = Integer.parseInt(prefs.getString(Constants.PREFERENCES_KEY_NETWORK_TIMEOUT, "15000"));