projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e1123d
)
this fix seems to make the '305 306' test case combination to run ok finally!
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 22 Nov 2002 13:48:24 +0000
(13:48 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 22 Nov 2002 13:48:24 +0000
(13:48 +0000)
tests/server/sws.c
patch
|
blob
|
history
diff --git
a/tests/server/sws.c
b/tests/server/sws.c
index
11ad8a4
..
ee152ac
100644
(file)
--- a/
tests/server/sws.c
+++ b/
tests/server/sws.c
@@
-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);