ANU News Patch Patch ID: 940527_newsutility.c!bailey@genetics.upenn.edu Date: 27-May-1994 Author: Charles Bailey bailey@genetics.upenn.edu News Version: 6.1beta9 News Files: NewsUtility.C Description: Checks that the idmap lookaside list exists for a newsgroup before trying to use it to find a missing item. *** newsutility.c --- newsutility_new.c ************** *** 101,103 **-- **/ --- 101,105 ----- + ** V6.1b9 27-May-1994 Charles Bailey bailey@genetics.upenn.edu + ** - check that group has idmap list before using it in get_itm_by_ident() **-- **/ ************** *** 1711,1717 if (!s_inum) { IDMAP_PTR tmp = ga[g]->grp_idhead; ! do { if (!news_strncasecmp(tmp->id,id,0)) { s_inum = tmp->itm_num; tmp->itm_num = (ga[g]->grp_idtail)->itm_num; --- 1713,1719 ----- if (!s_inum) { IDMAP_PTR tmp = ga[g]->grp_idhead; ! if (tmp) do { if (!news_strncasecmp(tmp->id,id,0)) { s_inum = tmp->itm_num; tmp->itm_num = (ga[g]->grp_idtail)->itm_num; *** patchlist.h;-1 --- patchlist.h ************** *** 1,1 =+=+= End =+=+= --- 1,2 ----- + 940527_newsutility.c!bailey@genetics.upenn.edu =+=+= End =+=+=