diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-07-29 12:46:21 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-07-29 12:46:21 +0000 |
| commit | e73a47e1fea004a1cf21b715b46685657a5716cb (patch) | |
| tree | 056395161f3e2e3f4a371e63a015acf6f3e72196 | |
| parent | 8feb5031c729f5de5c4aca72f92322e9b6f06c91 (diff) | |
| download | qmmp-e73a47e1fea004a1cf21b715b46685657a5716cb.tar.gz qmmp-e73a47e1fea004a1cf21b715b46685657a5716cb.tar.bz2 qmmp-e73a47e1fea004a1cf21b715b46685657a5716cb.zip | |
fixed content type parsing again
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@50 90c681e8-e032-0410-971d-27865f9a5e38
| -rw-r--r-- | lib/downloader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/downloader.cpp b/lib/downloader.cpp index 7a0547cee..c34b7cef2 100644 --- a/lib/downloader.cpp +++ b/lib/downloader.cpp @@ -127,10 +127,10 @@ QString Downloader::contentType() QString content; if (m_stream.header.contains("Content-Type")) content = m_stream.header.value("Content-Type"); - if (m_stream.header.contains("content-type")) - content = m_stream.header.value("content-type"); - if (m_stream.header.contains("Content-type")) + else if (m_stream.header.contains("content-type")) content = m_stream.header.value("content-type"); + else if (m_stream.header.contains("Content-type")) + content = m_stream.header.value("Content-type"); return content; } |
