Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
8cf444cb
...
8cf444cb73da9b25b80b36911cb9fc84740b6f68
authored
2002-08-14 12:09:06 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Removed vestiges of mu_virtual_domain
1 parent
3efffcb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
5 deletions
auth/virtual.c
auth/virtual.c
View file @
8cf444c
...
...
@@ -55,7 +55,6 @@ getpwnam_virtual (char *u)
size_t
i
=
0
,
len
=
strlen
(
u
),
delim
=
0
;
char
*
filename
;
mu_virtual_domain
=
0
;
for
(
i
=
0
;
i
<
len
&&
delim
==
0
;
i
++
)
if
(
u
[
i
]
==
'!'
||
u
[
i
]
==
':'
||
u
[
i
]
==
'@'
)
delim
=
i
;
...
...
@@ -76,10 +75,7 @@ getpwnam_virtual (char *u)
while
((
pw
=
fgetpwent
(
pfile
))
!=
NULL
)
{
if
(
strlen
(
pw
->
pw_name
)
==
delim
&&
!
strncmp
(
u
,
pw
->
pw_name
,
delim
))
{
mu_virtual_domain
=
1
;
break
;
}
break
;
}
return
pw
;
...
...
Please
register
or
sign in
to post a comment