Fix clear_telegram_is_new() for TEL_NORM from POGO at the epoch
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 20 Nov 2011 18:26:20 +0000 (19:26 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 29 Dec 2011 10:47:06 +0000 (11:47 +0100)
Purely theoretical, of course.

src/lib/subs/wu.c

index 08bfc4a0c735006c2e03d6fa66c32bdf35165070..9b4b08fa0f7c02aa733df581af3abd84097f0a82 100644 (file)
@@ -51,7 +51,7 @@ void
 clear_telegram_is_new(natid to)
 {
     last_tel[to].tel_type = 0;
-    last_tel[to].tel_from = 0;
+    last_tel[to].tel_from = NATID_BAD;
     last_tel[to].tel_date = 0;
 }