~ubuntu-branches/ubuntu/hardy/curl/hardy-updates

« back to all changes in this revision

Viewing changes to lib/hostares.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-10-30 10:56:48 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20061030105648-uo8q8w9xklb40b4k
Tags: 7.15.5-1ubuntu1
* Merge from debian unstable. Remaining Ubuntu changes:
  - debian/control: Drop libdb4.2 build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19
19
 * KIND, either express or implied.
20
20
 *
21
 
 * $Id: hostares.c,v 1.18 2006-05-05 22:07:01 bagder Exp $
 
21
 * $Id: hostares.c,v 1.24 2006-07-25 13:49:50 yangtse Exp $
22
22
 ***************************************************************************/
23
23
 
24
24
#include "setup.h"
25
25
 
26
26
#include <string.h>
27
27
 
28
 
#ifdef HAVE_MALLOC_H  /* Win32 */
 
28
#ifdef NEED_MALLOC_H
29
29
#include <malloc.h>
30
30
#endif
31
31
#ifdef HAVE_SYS_TYPES_H
259
259
 * Curl_freeaddrinfo(), nothing else.
260
260
 */
261
261
Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
262
 
                                char *hostname,
 
262
                                const char *hostname,
263
263
                                int port,
264
264
                                int *waitp)
265
265
{
292
292
  }
293
293
  return NULL; /* no struct yet */
294
294
}
295
 
 
296
295
#endif /* CURLRES_ARES */