summaryrefslogtreecommitdiff
blob: a873dca5658159f35fd0b3f40fa8db14ac7fa7bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --exclude-from=/home/dang/.diffrc -up -ruN libsoup-2.2.99.orig/tests/header-parsing.c libsoup-2.2.99/tests/header-parsing.c
--- libsoup-2.2.99.orig/tests/header-parsing.c	2007-01-06 13:11:03.000000000 -0500
+++ libsoup-2.2.99/tests/header-parsing.c	2007-01-26 17:47:03.000000000 -0500
@@ -456,6 +456,8 @@ do_request_tests (void)
 	SoupHttpVersion version;
 	GHashTable *headers;
 
+	errors = 0;
+
 	printf ("Request tests\n");
 	for (i = 0; i < num_reqtests; i++) {
 		gboolean ok = TRUE;
@@ -537,6 +539,8 @@ do_response_tests (void)
 	SoupHttpVersion version;
 	GHashTable *headers;
 
+	errors = 0;
+
 	printf ("Response tests\n");
 	for (i = 0; i < num_resptests; i++) {
 		gboolean ok = TRUE;