commandError() cleanups, fixup gcc checks
stripped binary size reduced by 9k on my machine from making commandError a function. We'll print out error messages slightly slower before, but the smaller binary is more than worth it. git-svn-id: https://svn.musicpd.org/mpd/trunk@4488 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@@ -36,8 +36,8 @@ void initStats(void)
|
||||
|
||||
int printStats(int fd)
|
||||
{
|
||||
fdprintf(fd, "artists: %li\n", getNumberOfTagItems(TAG_ITEM_ARTIST));
|
||||
fdprintf(fd, "albums: %li\n", getNumberOfTagItems(TAG_ITEM_ALBUM));
|
||||
fdprintf(fd, "artists: %i\n", getNumberOfTagItems(TAG_ITEM_ARTIST));
|
||||
fdprintf(fd, "albums: %i\n", getNumberOfTagItems(TAG_ITEM_ALBUM));
|
||||
fdprintf(fd, "songs: %i\n", stats.numberOfSongs);
|
||||
fdprintf(fd, "uptime: %li\n", time(NULL) - stats.daemonStart);
|
||||
fdprintf(fd, "playtime: %li\n",
|
||||
|
Reference in New Issue
Block a user