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
76facf53
...
76facf5396e0503f34b04eb9b5a03c54df3c3d8f
authored
2003-07-01 15:00:13 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(notify_user): Bugfix: do not pass size_t instead of off_t.
1 parent
2066965a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
comsat/comsat.c
comsat/comsat.c
View file @
76facf5
...
...
@@ -434,7 +434,8 @@ notify_user (const char *user, const char *device, const char *path, off_t offse
message_t
msg
;
stream_t
stream
=
NULL
;
int
status
;
size_t
size
,
count
,
n
;
off_t
size
;
size_t
count
,
n
;
change_user
(
user
);
if
((
fp
=
fopen
(
device
,
"w"
))
==
NULL
)
...
...
@@ -467,7 +468,7 @@ notify_user (const char *user, const char *device, const char *path, off_t offse
return
;
}
if
((
status
=
stream_size
(
stream
,
(
off_t
*
)
&
size
)))
if
((
status
=
stream_size
(
stream
,
size
)))
{
syslog
(
LOG_ERR
,
_
(
"can't get stream size (mailbox %s): %s"
),
path
,
mu_strerror
(
status
));
...
...
Please
register
or
sign in
to post a comment