diff --git a/site_ansto/anstohttp.c b/site_ansto/anstohttp.c index 016baf30..9876ee9e 100644 --- a/site_ansto/anstohttp.c +++ b/site_ansto/anstohttp.c @@ -241,6 +241,7 @@ static int AnstoHttpConfigure(pHistDriver self, SConnection *pCon, status = ghttp_prepare(pPriv->syncRequest); httpStatus = ghttp_process(pPriv->syncRequest); confData = (char *)ghttp_get_body(pPriv->syncRequest); + printf("AnstoHttpConfigure called\n"); if(httpStatus != ghttp_done){ /* we may need to reconnect..... */ @@ -267,6 +268,7 @@ static int AnstoHttpConfigure(pHistDriver self, SConnection *pCon, SCWrite(pCon,confCommand,eError); return 0; } + return 1; } } }