Commit b2c50df5 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(create_person_generic): Extract the seconds from the current_time.

parent f6e93655
/* /*
* $Id: person.c,v 0.76 2003/01/12 19:56:15 ceder Exp $ * $Id: person.c,v 0.77 2003/07/12 21:29:36 ceder Exp $
* Copyright (C) 1991-1999, 2001-2002 Lysator Academic Computer Association. * Copyright (C) 1991-1999, 2001-2002 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -607,7 +607,7 @@ create_person_generic ( const String name, ...@@ -607,7 +607,7 @@ create_person_generic ( const String name,
} }
mailbox->creator = ACTPERS ? ACTPERS : new_user; mailbox->creator = ACTPERS ? ACTPERS : new_user;
mailbox->creation_time = current_time; mailbox->creation_time = current_time.tv_sec;
mailbox->presentation = 0; /* No presentation yet */ mailbox->presentation = 0; /* No presentation yet */
mailbox->supervisor = ACTPERS ? ACTPERS : new_user; mailbox->supervisor = ACTPERS ? ACTPERS : new_user;
mailbox->permitted_submitters = 0; mailbox->permitted_submitters = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment