aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-04-29 10:35:45 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-04-29 10:35:45 +0200
commit374e8093aca9131b089347196fd46f7c6fd78795 (patch)
tree7d2899ba94827f60bf74a12ad97aa376177985ae
parent956a318ea52e13c47b5a758cade34dba6adf2db9 (diff)
downloadmpd-notification-374e8093aca9131b089347196fd46f7c6fd78795.tar.gz
mpd-notification-374e8093aca9131b089347196fd46f7c6fd78795.tar.zst
whitespaces/tabs
-rw-r--r--mpd-notification.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mpd-notification.c b/mpd-notification.c
index e03e986..e844eea 100644
--- a/mpd-notification.c
+++ b/mpd-notification.c
@@ -33,7 +33,7 @@ int main(int argc, char ** argv) {
char * album = NULL, * artist = NULL, * notifystr = NULL, * title = NULL;
GError * error = NULL;
unsigned short int errcount = 0, state = MPD_STATE_UNKNOWN;
- NotifyNotification * notification = NULL;
+ NotifyNotification * notification = NULL;
struct mpd_connection * conn = NULL;
struct mpd_song * song = NULL;
@@ -44,13 +44,13 @@ int main(int argc, char ** argv) {
if (mpd_connection_get_error(conn) != MPD_ERROR_SUCCESS) {
fprintf(stderr,"%s: %s\n", argv[0], mpd_connection_get_error_message(conn));
mpd_connection_free(conn);
- exit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
}
- if(!notify_init(PROGNAME)) {
- fprintf(stderr, "%s: Can't create notify.\n", argv[0]);
- exit(EXIT_FAILURE);
- }
+ if(!notify_init(PROGNAME)) {
+ fprintf(stderr, "%s: Can't create notify.\n", argv[0]);
+ exit(EXIT_FAILURE);
+ }
notification = notify_notification_new(TEXT_TOPIC, NULL, ICON_SOUND);
notify_notification_set_category(notification, PROGNAME);