Don't upload the histogram server configuration twice.

r2173 | ffr | 2007-10-03 11:55:12 +1000 (Wed, 03 Oct 2007) | 2 lines
This commit is contained in:
Ferdi Franceschini
2007-10-03 11:55:12 +10:00
committed by Douglas Clowes
parent 67a8a8c0c3
commit 8fa8fd8806

View File

@@ -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;
}
}
}