Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin/dhcp/omapip pull up difference between 1.1.1.2...
details: https://anonhg.NetBSD.org/src/rev/4e233579979c
branches: netbsd-1-5
changeset: 488645:4e233579979c
user: mellon <mellon%NetBSD.org@localhost>
date: Sat Jul 22 05:05:08 2000 +0000
description:
pull up difference between 1.1.1.2 and 1.1.1.3
diffstat:
usr.sbin/dhcp/omapip/protocol.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r 501addc1a46c -r 4e233579979c usr.sbin/dhcp/omapip/protocol.c
--- a/usr.sbin/dhcp/omapip/protocol.c Sat Jul 22 05:04:43 2000 +0000
+++ b/usr.sbin/dhcp/omapip/protocol.c Sat Jul 22 05:05:08 2000 +0000
@@ -306,7 +306,8 @@
/* If we already have the data, fall through. */
case omapi_protocol_header_wait:
- status = omapi_message_allocate (&p -> message, MDL);
+ status = omapi_message_new ((omapi_object_t **)&p -> message,
+ MDL);
if (status != ISC_R_SUCCESS) {
omapi_disconnect (c, 1);
return status;
@@ -712,7 +713,7 @@
if (po -> type != omapi_type_protocol)
return ISC_R_INVALIDARG;
- status = omapi_message_allocate (&message, MDL);
+ status = omapi_message_new ((omapi_object_t **)&message, MDL);
if (status != ISC_R_SUCCESS)
return status;
mo = (omapi_object_t *)message;
@@ -765,7 +766,7 @@
if (po -> type != omapi_type_protocol)
return ISC_R_INVALIDARG;
- status = omapi_message_allocate (&message, MDL);
+ status = omapi_message_new ((omapi_object_t **)&message, MDL);
if (status != ISC_R_SUCCESS)
return status;
mo = (omapi_object_t *)message;
Home |
Main Index |
Thread Index |
Old Index