[balsa/wip/gtk4: 333/351] mailbox-node: Do not use tloc argument of time()
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/wip/gtk4: 333/351] mailbox-node: Do not use tloc argument of time()
- Date: Wed, 23 May 2018 21:44:58 +0000 (UTC)
commit ffbd45e2d3f0271a1edcbd456a2b0614ce18cef0
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Sun May 6 10:00:57 2018 -0400
mailbox-node: Do not use tloc argument of time()
It's "obsolescent".
src/mailbox-node.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mailbox-node.c b/src/mailbox-node.c
index 0037a27..9381990 100644
--- a/src/mailbox-node.c
+++ b/src/mailbox-node.c
@@ -1802,7 +1802,7 @@ balsa_mailbox_node_set_name(BalsaMailboxNode * mbnode, const gchar * name)
void
balsa_mailbox_node_set_last_use(BalsaMailboxNode * mbnode)
{
- time(&mbnode->last_use);
+ mbnode->last_use = time(NULL);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]