this fix seems to make the '305 306' test case combination to run ok finally!
This commit is contained in:
parent
9e1123debe
commit
12cfb4f7ee
@ -268,7 +268,7 @@ static int send_doc(int sock, int doc, int part_no)
|
|||||||
char *ptr;
|
char *ptr;
|
||||||
FILE *stream;
|
FILE *stream;
|
||||||
char *cmd=NULL;
|
char *cmd=NULL;
|
||||||
int cmdsize;
|
int cmdsize=0;
|
||||||
|
|
||||||
char filename[256];
|
char filename[256];
|
||||||
char partbuf[80]="data";
|
char partbuf[80]="data";
|
||||||
@ -285,10 +285,8 @@ static int send_doc(int sock, int doc, int part_no)
|
|||||||
count = strlen(buffer);
|
count = strlen(buffer);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(0 != part_no) {
|
if(0 != part_no)
|
||||||
sprintf(partbuf, "data%d", part_no);
|
sprintf(partbuf, "data%d", part_no);
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
sprintf(filename, TEST_DATA_PATH, doc);
|
sprintf(filename, TEST_DATA_PATH, doc);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user