Skip to content
Snippets Groups Projects
Commit 12cfb4f7 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

this fix seems to make the '305 306' test case combination to run ok finally!

parent 9e1123de
No related branches found
No related tags found
No related merge requests found
......@@ -268,7 +268,7 @@ static int send_doc(int sock, int doc, int part_no)
char *ptr;
FILE *stream;
char *cmd=NULL;
int cmdsize;
int cmdsize=0;
char filename[256];
char partbuf[80]="data";
......@@ -285,10 +285,8 @@ static int send_doc(int sock, int doc, int part_no)
count = strlen(buffer);
}
else {
if(0 != part_no) {
if(0 != part_no)
sprintf(partbuf, "data%d", part_no);
}
sprintf(filename, TEST_DATA_PATH, doc);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment