summaryrefslogtreecommitdiff
path: root/src/de/danoeh/antennapod
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2013-04-07 12:25:31 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2013-04-07 12:25:31 +0200
commit5da3b934ab148bddd25c67a922a46d73f949dd9c (patch)
tree559c7ae9d415889a229baca34c2b8f1883c01ead /src/de/danoeh/antennapod
parente5b9b68e289a9d358bbee23c8bf056398e4ad396 (diff)
downloadAntennaPod-5da3b934ab148bddd25c67a922a46d73f949dd9c.zip
Fixed NullpointerException in DownloadRequester
Diffstat (limited to 'src/de/danoeh/antennapod')
-rw-r--r--src/de/danoeh/antennapod/storage/DownloadRequester.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/danoeh/antennapod/storage/DownloadRequester.java b/src/de/danoeh/antennapod/storage/DownloadRequester.java
index bebffe8f9..29bd764dd 100644
--- a/src/de/danoeh/antennapod/storage/DownloadRequester.java
+++ b/src/de/danoeh/antennapod/storage/DownloadRequester.java
@@ -113,7 +113,7 @@ public class DownloadRequester {
private boolean isFilenameAvailable(String path) {
for (String key : downloads.keySet()) {
FeedFile f = downloads.get(key);
- if (f.getFile_url().equals(path)) {
+ if (f.getFile_url() != null && f.getFile_url().equals(path)) {
if (AppConfig.DEBUG)
Log.d(TAG, path
+ " is already used by another requested download");