Mercurial > audlegacy-plugins
diff src/scrobbler/fmt.c @ 1687:d158ce84fda7
Modified for Tuplez/plugin API changes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 05 Sep 2007 09:29:26 +0300 |
parents | f4d8082668c1 |
children | 62e89e392227 |
line wrap: on
line diff
--- a/src/scrobbler/fmt.c Wed Sep 05 07:38:21 2007 +0300 +++ b/src/scrobbler/fmt.c Wed Sep 05 09:29:26 2007 +0300 @@ -23,7 +23,7 @@ static char buf[30]; tm = gmt ? gmtime(&t) : localtime(&t); - snprintf(buf, sizeof(buf), "%d-%.2d-%.2d %.2d:%.2d:%.2d", + g_snprintf(buf, sizeof(buf), "%d-%.2d-%.2d %.2d:%.2d:%.2d", tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday,