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
65024927
...
65024927ce7efd117c1ee569c2e7bf1febdb6a1c
authored
2002-11-24 22:12:10 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(deliver): Bugfix: n and isize were not declared.
1 parent
ec4cfa29
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
mail.local/main.c
mail.local/main.c
View file @
6502492
...
...
@@ -256,7 +256,7 @@ _sieve_parse_error (void *user_name, const char *filename, int lineno,
free
(
loc
);
}
else
syslog
(
LOG_ERR
,
"(user %s) %s"
,
user_name
,
text
);
syslog
(
LOG_ERR
,
"(user %s) %s"
,
(
char
*
)
user_name
,
text
);
free
(
text
);
return
0
;
}
...
...
@@ -591,9 +591,6 @@ deliver (message_t msg, char *name)
stream_t
istream
,
ostream
;
size_t
size
;
int
failed
=
0
;
#if defined(USE_DBM)
struct
stat
sb
;
#endif
auth
=
mu_get_auth_by_name
(
name
);
if
(
!
auth
)
...
...
@@ -674,6 +671,10 @@ deliver (message_t msg, char *name)
}
#if defined(USE_DBM)
{
size_t
n
,
isize
;
struct
stat
sb
;
switch
(
check_quota
(
name
,
size
,
&
n
))
{
case
MQUOTA_EXCEEDED
:
...
...
@@ -681,8 +682,10 @@ deliver (message_t msg, char *name)
exit_code
=
EX_QUOTA
();
failed
++
;
break
;
case
MQUOTA_UNLIMITED
:
break
;
default:
if
((
status
=
stream_size
(
istream
,
(
off_t
*
)
&
isize
)))
{
...
...
@@ -700,6 +703,7 @@ deliver (message_t msg, char *name)
}
break
;
}
}
#endif
if
(
!
failed
&&
switch_user_id
(
auth
,
1
)
==
0
)
...
...
Please
register
or
sign in
to post a comment