throw away all NULLs and replace them by 0s

This commit is contained in:
Andrzej Rybczak
2009-08-30 17:43:13 +02:00
parent 0a22debf0e
commit 6843b98627
5 changed files with 23 additions and 35 deletions

View File

@@ -162,8 +162,8 @@ int main(int argc, char *argv[])
myPlaylist->SwitchTo();
myPlaylist->UpdateTimer();
Mpd.SetStatusUpdater(NcmpcppStatusChanged, NULL);
Mpd.SetErrorHandler(NcmpcppErrorCallback, NULL);
Mpd.SetStatusUpdater(NcmpcppStatusChanged, 0);
Mpd.SetErrorHandler(NcmpcppErrorCallback, 0);
// local variables
int input;
@@ -1105,7 +1105,7 @@ int main(int argc, char *argv[])
LockStatusbar();
int songpos;
time_t t = time(NULL);
time_t t = time(0);
songpos = Mpd.GetElapsedTime();