🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: net.sources.bugs
1 messages
1 total messages Started by Jim Trethewey Fri, 17 Apr 1987 20:22
patch to ZIP Code Bar Code
#995
Author: Jim Trethewey
Date: Fri, 17 Apr 1987 20:22
25 lines
1567 bytes
37a38,41
>  *      M001   02-Apr-1987   flamer           Fixed ztob() where a checksum that
>  *                                            comes out a multiple of 10 works.
>  *                                            Fixed digit correction blunder
>  *                                            in btoz().
144c148
<       checksum = (10 - checksum % 10);
---
>       checksum = (10 - checksum % 10) % 10;               /* M001 */
168a173
>       int error_digit;                                       /* M001 */
171a177
>       error_digit = 0;                                       /* M001 */
224,225c230,231
< 			if (!checksum_flag || verbose_flag)
< 			   {
---
> 			if ((error_digit != digit_length) || verbose_flag) 
> 			   {                                         /* M001 */
278a285
> 			      error_digit = digits_seen + 1;      /* M001 */
281c288
< 				 parity, ch_p, digits_seen + 1);
---
> 				 parity, ch_p, error_digit);      /* M001 */
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads