Skip to content
Permalink
Browse files

and fix linux build (followup 79d37c1)

  • Loading branch information
jef-n committed Jun 30, 2015
1 parent 53e095d commit 944f6ce5205b747b4f6d80c49b44d727d37dfc9c
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/server/qgsserver.cpp
@@ -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
@@ -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();

0 comments on commit 944f6ce

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