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
67ffa5b5
...
67ffa5b504c97842c8a7e123af6fa4587928f64e
authored
2007-11-26 00:55:28 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Bugfix
1 parent
1721cf28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
mailbox/mu_auth.c
mailbox/mu_auth.c
View file @
67ffa5b
...
...
@@ -138,19 +138,19 @@ mu_auth_data_alloc (struct mu_auth_data **ptr,
shell
=
"/dev/null"
;
if
(
!
mailbox
)
{
rc
=
mu_construct_user_mailbox_url
(
&
tmp_mailbox_name
,
name
);
int
rc
=
mu_construct_user_mailbox_url
(
&
tmp_mailbox_name
,
name
);
if
(
rc
)
return
rc
;
mailbox
_name
=
tmp_mailbox_name
;
mailbox
=
tmp_mailbox_name
;
}
size
=
=
sizeof
(
**
ptr
)
+
strlen
(
name
)
+
1
+
strlen
(
passwd
)
+
1
+
strlen
(
gecos
)
+
1
+
strlen
(
dir
)
+
1
+
strlen
(
shell
)
+
1
+
strlen
(
mailbox
)
+
1
;
size
=
sizeof
(
**
ptr
)
+
strlen
(
name
)
+
1
+
strlen
(
passwd
)
+
1
+
strlen
(
gecos
)
+
1
+
strlen
(
dir
)
+
1
+
strlen
(
shell
)
+
1
+
strlen
(
mailbox
)
+
1
;
*
ptr
=
calloc
(
1
,
size
);
if
(
!*
ptr
)
...
...
Please
register
or
sign in
to post a comment