Commit 363d56de authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Don't call timelocal when creating code for a time_date. (The called

function should expect a struct tm, not a time_t as before).
parent e2cd9260
#
# $Id: call-switch.awk,v 0.4 1991/11/10 19:02:43 linus Exp $
# $Id: call-switch.awk,v 0.5 1993/10/12 18:37:57 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -22,7 +22,7 @@
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
# $Id: call-switch.awk,v 0.4 1991/11/10 19:02:43 linus Exp $
# $Id: call-switch.awk,v 0.5 1993/10/12 18:37:57 ceder Exp $
BEGIN {
printf("/* Don't edit this file - it is generated automatically");
printf(" from\n call-switch.awk and fncdef.txt */\n");
......@@ -62,7 +62,7 @@ $1 != "#" {
else if ( $i == "c_misc_info_p" )
printf("client->c_misc_info_p");
else if ( $i == "time_date" )
printf("timelocal(&(client->time))");
printf("client->time");
else
printf("\n#error in file server/fncdef.txt\n");
}
......
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