]>
Commit | Line | Data |
---|---|---|
a0228f79 PG |
1 | Index: squid/auth_modules/MSNT/usersfile.c |
2 | diff -c squid/auth_modules/MSNT/usersfile.c:1.1.2.1 squid/auth_modules/MSNT/usersfile.c:1.1.2.2 | |
3 | *** squid/auth_modules/MSNT/usersfile.c:1.1.2.1 Wed Jun 26 13:24:46 2002 | |
4 | --- squid/auth_modules/MSNT/usersfile.c Fri Jul 5 08:34:21 2002 | |
5 | *************** | |
6 | *** 28,36 **** | |
7 | static int | |
8 | name_cmp(const void *a, const void *b) | |
9 | { | |
10 | ! const char *A = a; | |
11 | ! const char *B = b; | |
12 | ! return strcasecmp(A, B); | |
13 | } | |
14 | ||
15 | static void | |
16 | --- 28,36 ---- | |
17 | static int | |
18 | name_cmp(const void *a, const void *b) | |
19 | { | |
20 | ! const char * const *A = a; | |
21 | ! const char * const *B = b; | |
22 | ! return strcasecmp(*A, *B); | |
23 | } | |
24 | ||
25 | static void | |
26 | *************** | |
27 | *** 148,154 **** | |
28 | * If so, allow. If not, deny. Reconstruct the username | |
29 | * to have whitespace, to avoid finding wrong string subsets. */ | |
30 | ||
31 | ! p = bsearch(User, | |
32 | uf->names, | |
33 | uf->Inuse, | |
34 | sizeof(*uf->names), | |
35 | --- 148,154 ---- | |
36 | * If so, allow. If not, deny. Reconstruct the username | |
37 | * to have whitespace, to avoid finding wrong string subsets. */ | |
38 | ||
39 | ! p = bsearch(&User, | |
40 | uf->names, | |
41 | uf->Inuse, | |
42 | sizeof(*uf->names), |