summaryrefslogtreecommitdiffstats
path: root/ffvisd
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-08-29 22:43:30 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-08-29 22:43:30 +0200
commit87d8cbe72d6d983b0a4659eaee6240a39d9731af (patch)
tree6eabc9feda457681f15c3cb21ca418feaa7197cb /ffvisd
parent6c79dcef39f0585513c11053bd5db6c981f1643f (diff)
downloadffd-87d8cbe72d6d983b0a4659eaee6240a39d9731af.tar
ffd-87d8cbe72d6d983b0a4659eaee6240a39d9731af.zip
Fix seqno byte order
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);
}
}