Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 119208 | Differences between
and this patch

Collapse All | Expand All

(-)wolfgl-0.93.orig/common/id_ca.c (-3 / +6 lines)
Lines 268-280 Link Here
268
			if (!count)
268
			if (!count)
269
			{
269
			{
270
				// have to insert a word containing the tag byte
270
				// have to insert a word containing the tag byte
271
				ch |= *((unsigned char*)inptr)++;
271
				ch | *((unsigned char*)inptr);
272
				inptr += sizeof (unsigned char);
272
				*outptr++ = ch;
273
				*outptr++ = ch;
273
				length--;
274
				length--;
274
			}
275
			}
275
			else
276
			else
276
			{
277
			{
277
				offset = *((unsigned char*)inptr)++;
278
				offset = *((unsigned char*)inptr);
279
				inptr += sizeof (unsigned char);
278
				copyptr = outptr - offset;
280
				copyptr = outptr - offset;
279
				length -= count;
281
				length -= count;
280
				while (count--)
282
				while (count--)
Lines 287-293 Link Here
287
			if (!count)
289
			if (!count)
288
			{
290
			{
289
				// have to insert a word containing the tag byte
291
				// have to insert a word containing the tag byte
290
				ch |= *((unsigned char*)inptr)++;
292
				ch | *((unsigned char*)inptr);
293
				inptr += sizeof (unsigned char);
291
				*outptr++ = ch;
294
				*outptr++ = ch;
292
				length --;
295
				length --;
293
			}
296
			}

Return to bug 119208