From eff341390c079060d0904a53b7eebe84e2315f3a Mon Sep 17 00:00:00 2001 From: Christian Wieninger Date: Thu, 22 Sep 2011 19:43:08 +0200 Subject: =?UTF-8?q?Delete=20trailing=20whitespace,=20thanks=20to=20Ville?= =?UTF-8?q?=20Skytt=C3=A4=20for=20patches?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pending_notifications.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'pending_notifications.c') diff --git a/pending_notifications.c b/pending_notifications.c index d136528..bd96953 100644 --- a/pending_notifications.c +++ b/pending_notifications.c @@ -69,16 +69,16 @@ bool cPendingNotification::Read(FILE *f) { p->type = Type; p->eventID = EventID; - p->timerMod = TimerMod; + p->timerMod = TimerMod; p->searchID = SearchID; p->start = Start; PendingNotifications.Add(p); } } - } + } break; - case 'C': + case 'C': { s = skipspace(s + 1); char *pC = strchr(s, ' '); @@ -120,13 +120,13 @@ const char *cPendingNotification::ToText(void) const if (buffer) free(buffer); buffer = NULL; - + cChannel *channel = Channels.GetByChannelID(channelID, true, true); if (!channel) LogFile.Log(3,"invalid channel in pending notifications!"); - msprintf(&buffer, "N %d %u %d %d %ld\nC %s\n%s%s%sn", - type, eventID, timerMod, searchID, start, + msprintf(&buffer, "N %d %u %d %d %ld\nC %s\n%s%s%sn", + type, eventID, timerMod, searchID, start, channel?CHANNELSTRING(channel):"", tmpFormatted?"F ":"",tmpFormatted?tmpFormatted:"", tmpFormatted?"\n":""); -- cgit v1.2.3