summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/os/sendto_kdc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/krb5/os/sendto_kdc.c')
-rw-r--r--src/lib/krb5/os/sendto_kdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/krb5/os/sendto_kdc.c b/src/lib/krb5/os/sendto_kdc.c
index edc4a6e3a5..040c554e43 100644
--- a/src/lib/krb5/os/sendto_kdc.c
+++ b/src/lib/krb5/os/sendto_kdc.c
@@ -634,12 +634,12 @@ add_connection(struct conn_state **conns, struct addrinfo *ai,
set_conn_state_msg_length (state, message);
if (*udpbufp == NULL) {
- *udpbufp = malloc(krb5_max_dgram_size);
+ *udpbufp = malloc(MAX_DGRAM_SIZE);
if (*udpbufp == 0)
return ENOMEM;
}
state->x.in.buf = *udpbufp;
- state->x.in.bufsize = krb5_max_dgram_size;
+ state->x.in.bufsize = MAX_DGRAM_SIZE;
}
/* Chain the new state onto the tail of the list. */