2018-04-04 22:35:58 +00:00

15 lines
451 B
Plaintext

$OpenBSD: patch-newsrc_c,v 1.5 2018/04/04 22:35:58 sthen Exp $
Index: newsrc.c
--- newsrc.c.orig
+++ newsrc.c
@@ -594,7 +594,7 @@ static int active_get_cache(struct NntpServer *nserv)
if (!fp)
return -1;
- if (fgets(buf, sizeof(buf), fp) == NULL || sscanf(buf, "%ld%s", &t, file) != 1 || t == 0)
+ if (fgets(buf, sizeof(buf), fp) == NULL || sscanf(buf, "%lld%s", &t, file) != 1 || t == 0)
{
mutt_file_fclose(&fp);
return -1;