2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

[master] Plugs a socket descriptor leak in OMAPI

Merges in rt46767.
This commit is contained in:
Thomas Markwalder
2017-12-07 11:23:36 -05:00
parent 2bc5315626
commit 1a6b62fe17
3 changed files with 15 additions and 1 deletions

View File

@@ -339,7 +339,7 @@ isc_result_t omapi_message_unregister (omapi_object_t *mo)
}
#ifdef DEBUG_PROTOCOL
static const char *omapi_message_op_name(int op) {
const char *omapi_message_op_name(int op) {
switch (op) {
case OMAPI_OP_OPEN: return "OMAPI_OP_OPEN";
case OMAPI_OP_REFRESH: return "OMAPI_OP_REFRESH";