removed tabs and trailing whitespace from source

This commit is contained in:
Daniel Stenberg
2004-10-06 07:50:18 +00:00
parent 5c7dcc6c33
commit 39af394a1c
70 changed files with 2037 additions and 2041 deletions

View File

@@ -178,15 +178,15 @@ static size_t
buffer_write(struct krb4buffer *buf, void *data, size_t len)
{
if(buf->index + len > buf->size) {
void *tmp;
if(buf->data == NULL)
tmp = malloc(1024);
else
tmp = realloc(buf->data, buf->index + len);
if(tmp == NULL)
return -1;
buf->data = tmp;
buf->size = buf->index + len;
void *tmp;
if(buf->data == NULL)
tmp = malloc(1024);
else
tmp = realloc(buf->data, buf->index + len);
if(tmp == NULL)
return -1;
buf->data = tmp;
buf->size = buf->index + len;
}
memcpy((char*)buf->data + buf->index, data, len);
buf->index += len;