Mercurial > gftp.yaz
diff lib/misc.c @ 102:3b573c8ef706
2003-2-6 Brian Masney <masneyb@gftp.org>
* lib/gftp.h lib/protocols.c lib/rfc2068.c - put in new
parse_time() function that should work across all locales.
It uses strptime() internally.
* lib/misc.c - remove note from close statement
author | masneyb |
---|---|
date | Fri, 07 Feb 2003 01:24:13 +0000 |
parents | 6df043359b41 |
children | 76e2b58a9440 |
line wrap: on
line diff
--- a/lib/misc.c Fri Feb 07 01:00:10 2003 +0000 +++ b/lib/misc.c Fri Feb 07 01:24:13 2003 +0000 @@ -17,9 +17,10 @@ /* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA */ /*****************************************************************************/ +static const char cvsid[] = "$Id$"; + #include "gftp.h" #include "options.h" -static const char cvsid[] = "$Id$"; /* FIXME - this isn't right for all locales. Use glib's printf instead */ char * @@ -448,7 +449,7 @@ if (fle->destfile) g_free (fle->destfile); if (fle->fd > 0) - close (fle->fd); /* FIXME - need to log a failure */ + close (fle->fd); g_free (fle); }