- Removed -fwritable-string
This commit is contained in:
@@ -159,7 +159,7 @@ static int SinqHttpConfigure(pHistDriver self, SConnection *pCon,
|
||||
eError);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* looser credentials
|
||||
*/
|
||||
@@ -175,7 +175,6 @@ static int SinqHttpConfigure(pHistDriver self, SConnection *pCon,
|
||||
eError);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/* actual configuration. Check for flag INIT in
|
||||
options. We do not need to configure, if the HM has configured
|
||||
@@ -228,7 +227,7 @@ static int SinqHttpConfigure(pHistDriver self, SConnection *pCon,
|
||||
httpStatus = ghttp_process(pPriv->syncRequest);
|
||||
confData = (char *)ghttp_get_body(pPriv->syncRequest);
|
||||
if(httpStatus != ghttp_done){
|
||||
confData = ghttp_get_error(pPriv->syncRequest);
|
||||
confData = (char *)ghttp_get_error(pPriv->syncRequest);
|
||||
snprintf(confCommand,511,"ERROR: http error %s occurred",
|
||||
confData);
|
||||
SCWrite(pCon,confCommand,eError);
|
||||
|
||||
Reference in New Issue
Block a user