1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

Added CVS id.

This commit is contained in:
Gisle Vanem 2006-07-22 15:21:13 +00:00
parent 2f70fb7015
commit ba7f27a3f6
22 changed files with 48 additions and 2 deletions

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright (C) 2004 by Daniel Stenberg et al /* Copyright (C) 2004 by Daniel Stenberg et al
* *
* Permission to use, copy, modify, and distribute this software and its * Permission to use, copy, modify, and distribute this software and its

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this
@ -53,13 +55,13 @@ int ares_expand_string(const unsigned char *encoded,
*s = malloc(len+1); *s = malloc(len+1);
if (*s == NULL) if (*s == NULL)
return ARES_ENOMEM; return ARES_ENOMEM;
q = *s; q = *s;
strncpy((char *)q, (char *)encoded, len); strncpy((char *)q, (char *)encoded, len);
q[len] = '\0'; q[len] = '\0';
*s = q; *s = q;
*enclen = len+1; *enclen = len+1;
return ARES_SUCCESS; return ARES_SUCCESS;
} }

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright 2000 by the Massachusetts Institute of Technology. /* Copyright 2000 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this
@ -16,6 +18,7 @@
#include "setup.h" #include "setup.h"
#include <stdlib.h> #include <stdlib.h>
#include "ares.h" #include "ares.h"
#include "ares_private.h"
void ares_free_string(void *str) void ares_free_string(void *str)
{ {

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this
@ -30,6 +32,7 @@
#include <string.h> #include <string.h>
#include "ares.h" #include "ares.h"
#include "ares_dns.h" #include "ares_dns.h"
#include "ares_private.h"
/* Header format, from RFC 1035: /* Header format, from RFC 1035:
* 1 1 1 1 1 1 * 1 1 1 1 1 1

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this

View File

@ -1,3 +1,5 @@
/* $Id: */
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this

View File

@ -1,3 +1,5 @@
/* $Id: */
/* /*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996,1999 by Internet Software Consortium. * Copyright (c) 1996,1999 by Internet Software Consortium.

View File

@ -1,3 +1,5 @@
/* $Id: */
/* /*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996,1999 by Internet Software Consortium. * Copyright (c) 1996,1999 by Internet Software Consortium.

View File

@ -1,6 +1,8 @@
#ifndef __ARES_SETUP_H #ifndef __ARES_SETUP_H
#define __ARES_SETUP_H #define __ARES_SETUP_H
/* $Id: */
/* Copyright (C) 2004 - 2005 by Daniel Stenberg et al /* Copyright (C) 2004 - 2005 by Daniel Stenberg et al
* *
* Permission to use, copy, modify, and distribute this software and its * Permission to use, copy, modify, and distribute this software and its

View File

@ -1,5 +1,7 @@
#include "setup.h" #include "setup.h"
/* $Id: */
/* only do the following on windows /* only do the following on windows
*/ */
#if (defined(WIN32) || defined(WATT32)) && !defined(MSDOS) #if (defined(WIN32) || defined(WATT32)) && !defined(MSDOS)