~ubuntu-branches/ubuntu/maverick/krb5/maverick

« back to all changes in this revision

Viewing changes to src/lib/krb4/send_to_kdc.c

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman, Russ Allbery, Sam Hartman
  • Date: 2008-08-21 10:41:41 UTC
  • mfrom: (11.1.15 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080821104141-a0f9c4o4cpo8xd0o
Tags: 1.6.dfsg.4~beta1-4
[ Russ Allbery ]
* Translation updates:
  - Swedish, thanks Martin Bagge.  (Closes: #487669, #491774)
  - Italian, thanks Luca Monducci.  (Closes: #493962)

[ Sam Hartman ]
* Translation Updates:
    - Dutch, Thanks Vincent Zweije, Closes: #495733

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include <stdio.h>
31
31
#include <stdlib.h>
32
32
#include <string.h>
33
 
#include "krb5/autoconf.h"
 
33
#include "autoconf.h"
34
34
#ifdef HAVE_SYS_SELECT_H
35
35
#include <sys/select.h>
36
36
#endif
55
55
static char *prog = "send_to_kdc";
56
56
#endif
57
57
 
58
 
#ifndef MAXHOSTNAMELEN
59
 
# define MAXHOSTNAMELEN 256
60
 
#endif
61
 
 
62
58
/*
63
59
 * send_to_kdc() sends a message to the Kerberos authentication
64
60
 * server(s) in the given realm and returns the reply message.
184
180
 
185
181
    message.length = pkt->length;
186
182
    message.data = (char *)pkt->dat; /* XXX yuck */
187
 
    retval = internals.sendto_udp(NULL, &message, &al, &reply, addr,
188
 
                                  addrlen, NULL);
 
183
    retval = internals.sendto_udp(NULL, &message, &al, NULL, &reply, addr,
 
184
                                  addrlen, NULL, 0, NULL, NULL, NULL);
189
185
    DEB(("sendto_udp returns %d\n", retval));
190
186
free_al:
191
187
    internals.free_addrlist(&al);