summaryrefslogtreecommitdiffstats
path: root/ffvisd
diff options
context:
space:
mode:
Diffstat (limited to 'ffvisd')
-rw-r--r--ffvisd/ffvisd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffvisd/ffvisd.c b/ffvisd/ffvisd.c
index 1dc0a32..9ad00c8 100644
--- a/ffvisd/ffvisd.c
+++ b/ffvisd/ffvisd.c
@@ -398,7 +398,7 @@ static void maintenance() {
for(announce = &announcements; *announce; announce = &(*announce)->next) {
if (!(*announce)->received.tv_sec) /* announcement is local */
- (*announce)->announce.seqno++;
+ (*announce)->announce.seqno = htons(ntohs((*announce)->announce.seqno)+1);
}
}