Skip to content

Commit

Permalink
test/kits/net: Fix build of cookie_test
Browse files Browse the repository at this point in the history
  • Loading branch information
kallisti5 committed Jul 26, 2015
1 parent eef1c44 commit 89de782
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/kits/net/cookie/cookie_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void stressTest(int32 domainNumber, int32 totalCookies, char** flat, ssize_t* si
}
delete watch;

BNetworkCookie* c;
const BNetworkCookie* c;
int16 domain = (rand() % domainNumber);
BString host("http://");
host << domains[domain] << "/";
Expand Down Expand Up @@ -94,7 +94,7 @@ main(int, char**)
j.Unflatten(B_ANY_TYPE, flatJar, size);

int32 count = 0;
BNetworkCookie* c;
const BNetworkCookie* c;
for (BNetworkCookieJar::Iterator it(j.GetIterator()); (c = it.Next()); )
count++;
cout << "Count : " << count << endl;
Expand Down

0 comments on commit 89de782

Please sign in to comment.