]> git.pld-linux.org Git - packages/squid.git/blame - squid-2.4.STABLE7-msntauth.patch
- BR: automake
[packages/squid.git] / squid-2.4.STABLE7-msntauth.patch
CommitLineData
a0228f79
PG
1Index: squid/auth_modules/MSNT/usersfile.c
2diff -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),
This page took 0.066981 seconds and 4 git commands to generate.