Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts. Maybe not. Blame Graff for getting me to trim all trailing whitespace.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
/*
|
||||
* Copyright (C) 2000 Internet Software Consortium.
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
||||
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
||||
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: lwbuffer.c,v 1.8 2000/07/27 09:53:43 tale Exp $ */
|
||||
/* $Id: lwbuffer.c,v 1.9 2000/08/01 01:32:18 tale Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -50,7 +50,7 @@ lwres_buffer_invalidate(lwres_buffer_t *b)
|
||||
*/
|
||||
|
||||
REQUIRE(LWRES_BUFFER_VALID(b));
|
||||
|
||||
|
||||
b->magic = 0;
|
||||
b->base = NULL;
|
||||
b->length = 0;
|
||||
@@ -268,7 +268,7 @@ lwres_buffer_putmem(lwres_buffer_t *b, const unsigned char *base,
|
||||
cp = (unsigned char *)b->base + b->used;
|
||||
memcpy(cp, base, length);
|
||||
b->used += length;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
lwres_buffer_getmem(lwres_buffer_t *b, unsigned char *base,
|
||||
@@ -284,4 +284,4 @@ lwres_buffer_getmem(lwres_buffer_t *b, unsigned char *base,
|
||||
b->current += length;
|
||||
|
||||
memcpy(base, cp, length);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user