diff options
Diffstat (limited to 'plugin/attachment_tool')
-rw-r--r-- | plugin/attachment_tool/attachment_tool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/attachment_tool/attachment_tool.c b/plugin/attachment_tool/attachment_tool.c index b7a324e4..de299a21 100644 --- a/plugin/attachment_tool/attachment_tool.c +++ b/plugin/attachment_tool/attachment_tool.c @@ -228,7 +228,7 @@ static gboolean remove_attachment(MsgInfo *msginfo) if (!err) { debug_print("overwriting original message file: %s\n", infile); if (copy_file(outfile, infile, FALSE) == 0) { - struct stat s; + GStatBuf s; if (g_stat(infile, &s) == 0) { msginfo->size = s.st_size; msginfo->mtime = s.st_mtime; |