Skip to content

Commit

Permalink
and fix linux build (followup 79d37c1)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 30, 2015
1 parent 53e095d commit 944f6ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/qgsserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
#include <QScopedPointer>
// TODO: remove, it's only needed by a single debug message
#include <fcgi_stdio.h>
#include <stdlib.h>


// Static initialisers, default values for fcgi server
Expand Down Expand Up @@ -453,7 +454,7 @@ QByteArray QgsServer::handleRequest( const QString queryString ,
*/
if ( ! queryString.isEmpty() )
{
putenv( QString( "QUERY_STRING=%1" ).arg( queryString ).toUtf8( ) );
putenv( QString( "QUERY_STRING=%1" ).arg( queryString ).toUtf8().data() );
}

int logLevel = QgsServerLogger::instance()->logLevel();
Expand Down

0 comments on commit 944f6ce

Please sign in to comment.