[fa.info-mac] macget fix

info-mac@uw-beaver (07/06/84)

From: winkler@harvard.ARPA (Dan Winkler)
Here's a fix to make the -u option of macget work.  It was
incrementing a pointer before the cr to nl translation
but it should be incremented after.


	<1>  diff macget.c macget2.c
	337c337
	< 	cksum += *bp++;
	---
	> 	cksum += *bp;
	339a340
	> 	bp++;

So now the code reads:

	for (i = 0; i < count; i++) {
		cksum += *bp;
		if (txtmode && *bp == '\r')
			*bp = '\n';
		bp++;
	}



Dan.