"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/active.c" between
tin-2.4.4.tar.xz and tin-2.4.5.tar.xz

About: TIN is a threaded NNTP and spool based UseNet newsreader.

active.c  (tin-2.4.4.tar.xz):active.c  (tin-2.4.5.tar.xz)
/* /*
* Project : tin - a Usenet reader * Project : tin - a Usenet reader
* Module : active.c * Module : active.c
* Author : I. Lea * Author : I. Lea
* Created : 1992-02-16 * Created : 1992-02-16
* Updated : 2019-01-28 * Updated : 2019-01-28
* Notes : * Notes :
* *
* Copyright (c) 1992-2020 Iain Lea <iain@bricbrac.de> * Copyright (c) 1992-2021 Iain Lea <iain@bricbrac.de>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
* are met: * are met:
* *
* 1. Redistributions of source code must retain the above copyright notice, * 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer. * this list of conditions and the following disclaimer.
* *
* 2. Redistributions in binary form must reproduce the above copyright * 2. Redistributions in binary form must reproduce the above copyright
skipping to change at line 678 skipping to change at line 678
struct t_group *grpptr; struct t_group *grpptr;
t_artnum count = T_ARTNUM_CONST(-1), min = T_ARTNUM_CONST(1), max = T_ART NUM_CONST(0); t_artnum count = T_ARTNUM_CONST(-1), min = T_ARTNUM_CONST(1), max = T_ART NUM_CONST(0);
if (!batch_mode || verbose) if (!batch_mode || verbose)
wait_message(0, _(txt_reading_news_active_file)); wait_message(0, _(txt_reading_news_active_file));
if ((fp = nntp_command("LIST COUNTS", OK_GROUPS, NULL, 0)) == NULL) { if ((fp = nntp_command("LIST COUNTS", OK_GROUPS, NULL, 0)) == NULL) {
if (cmd_line && !batch_mode) if (cmd_line && !batch_mode)
my_fputc('\n', stderr); my_fputc('\n', stderr);
tin_done(EXIT_FAILURE,_(txt_cannot_retrieve), ACTIVE_FILE); tin_done(EXIT_FAILURE, _(txt_cannot_retrieve), ACTIVE_FILE);
} }
while ((ptr = tin_fgets(fp, FALSE)) != NULL) { while ((ptr = tin_fgets(fp, FALSE)) != NULL) {
# ifdef DEBUG # ifdef DEBUG
if ((debug & DEBUG_NNTP) && verbose) /* long multiline response * / if ((debug & DEBUG_NNTP) && verbose) /* long multiline response * /
debug_print_file("NNTP", "<<<%s%s", logtime(), ptr); debug_print_file("NNTP", "<<<%s%s", logtime(), ptr);
# endif /* DEBUG */ # endif /* DEBUG */
if (!parse_count_line(ptr, &max, &min, &count, moderated)) if (!parse_count_line(ptr, &max, &min, &count, moderated))
continue; continue;
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)