diff -r 32619a71edd2 -r 4d016c00bb36 src/win32/libc_interface.c --- a/src/win32/libc_interface.c Tue Jun 17 18:53:49 2003 +0000 +++ b/src/win32/libc_interface.c Tue Jun 17 18:56:53 2003 +0000 @@ -1,9 +1,26 @@ /* - * libc_interface.c - * - * Author: Herman Bloggs - * Date: October 14, 2002 - * Description: Commonly used libc routines. + * gaim + * + * File: libc_interface.c + * Date: October 14, 2002 + * Description: libc interface for Windows api + * + * Copyright (C) 2002-2003, Herman Bloggs + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * */ #include #include @@ -348,7 +365,7 @@ struct tm* tmptm; if(!time) - return; + return NULL; tmptm = localtime(time); if(resultp && tmptm) return memcpy(resultp, tmptm, sizeof(struct tm));