Newsgroups: comp.sources.misc Path: rde!gator!fang!tarpit!uunet!sparky!kent From: seb3@gte.com (Steve Belczyk) Subject: v37i031: uqwk - a QWK "door" for Unix, Patch03 Message-ID: <1993Apr28.035155.14299@sparky.imd.sterling.com> Followup-To: comp.sources.d X-Md4-Signature: 8dffe99dbd2bc8f3fa4895f980e85e37 Sender: kent@sparky.imd.sterling.com (Kent Landfield) Organization: Sterling Software Date: Wed, 28 Apr 1993 03:51:55 GMT Approved: kent@sparky.imd.sterling.com Lines: 55 Submitted-by: seb3@gte.com (Steve Belczyk) Posting-number: Volume 37, Issue 31 Archive-name: uqwk/patch03 Environment: UNIX Patch-To: uqwk: Volume 36, Issue 8 This patch updates uqwk 1.2 to uqwk 1.3. This is a small patch, but it fixes a big problem which caused articles to be posted to the wrong newsgroup. (And we all know how painful that can be.) Many thanks to Debby Keen for finding this. cd into the uqwk source directory and "patch -p1 < this-file" diff -c uqwk1.2/news.c uqwk1.3/news.c *** uqwk1.2/news.c Mon Mar 22 13:59:36 1993 --- uqwk1.3/news.c Fri Mar 26 09:54:43 1993 *************** *** 109,115 **** while (np != NULL) { np->conf = c; ! c++; np = np->next; } --- 109,115 ---- while (np != NULL) { np->conf = c; ! if (np->subscribed) c++; np = np->next; } diff -c uqwk1.2/uqwk.h uqwk1.3/uqwk.h *** uqwk1.2/uqwk.h Mon Mar 22 13:53:54 1993 --- uqwk1.3/uqwk.h Fri Mar 26 09:53:33 1993 *************** *** 2,8 **** * Header for uqwk */ ! #define UQWK_VERSION "1.2" #ifdef ALLOCATE #define EXTERN --- 2,8 ---- * Header for uqwk */ ! #define UQWK_VERSION "1.3" #ifdef ALLOCATE #define EXTERN exit 0 # Just in case...