diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-07-01 15:00:13 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-07-01 15:00:13 +0000 |
commit | 76facf5396e0503f34b04eb9b5a03c54df3c3d8f (patch) | |
tree | c3ad30e04fba30accdf55e7f4cc8c70ef9027222 /comsat/comsat.c | |
parent | 2066965ae85c41c04b075fd94945834f00594f88 (diff) | |
download | mailutils-76facf5396e0503f34b04eb9b5a03c54df3c3d8f.tar.gz mailutils-76facf5396e0503f34b04eb9b5a03c54df3c3d8f.tar.bz2 |
(notify_user): Bugfix: do not pass size_t instead of off_t.
Diffstat (limited to 'comsat/comsat.c')
-rw-r--r-- | comsat/comsat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/comsat/comsat.c b/comsat/comsat.c index 441dbdcf8..515978735 100644 --- a/comsat/comsat.c +++ b/comsat/comsat.c @@ -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)); |