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:
committed by
Douglas Clowes
parent
67a8a8c0c3
commit
8fa8fd8806
@@ -241,6 +241,7 @@ static int AnstoHttpConfigure(pHistDriver self, SConnection *pCon,
|
|||||||
status = ghttp_prepare(pPriv->syncRequest);
|
status = ghttp_prepare(pPriv->syncRequest);
|
||||||
httpStatus = ghttp_process(pPriv->syncRequest);
|
httpStatus = ghttp_process(pPriv->syncRequest);
|
||||||
confData = (char *)ghttp_get_body(pPriv->syncRequest);
|
confData = (char *)ghttp_get_body(pPriv->syncRequest);
|
||||||
|
printf("AnstoHttpConfigure called\n");
|
||||||
if(httpStatus != ghttp_done){
|
if(httpStatus != ghttp_done){
|
||||||
/* we may need to reconnect.....
|
/* we may need to reconnect.....
|
||||||
*/
|
*/
|
||||||
@@ -267,6 +268,7 @@ static int AnstoHttpConfigure(pHistDriver self, SConnection *pCon,
|
|||||||
SCWrite(pCon,confCommand,eError);
|
SCWrite(pCon,confCommand,eError);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user