Skip to content
Permalink
Browse files

Return QByteArrays instead of 0's.

git-svn-id: http://svn.osgeo.org/qgis/trunk@5238 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Apr 9, 2006
1 parent 72ec5c0 commit 07a9b64d1b96bff543d0e3aecd14e6a3793f30cb
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/wms/qgswmsprovider.cpp
@@ -732,7 +732,7 @@ QByteArray QgsWmsProvider::retrieveUrl(QString url)

mError += "\n" + tr("Tried URL: ") + url;

return 0;
return QByteArray("");
}

if (http.responseContentType() == "application/vnd.ogc.se_xml")
@@ -756,7 +756,7 @@ QByteArray QgsWmsProvider::retrieveUrl(QString url)
<< mError.toLocal8Bit().data() << "'." << std::endl;
#endif

return 0;
return QByteArray("");
}

return httpResponse;

0 comments on commit 07a9b64

Please sign in to comment.
You can’t perform that action at this time.