summaryrefslogtreecommitdiff
path: root/lib/isc/socket_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/isc/socket_api.c')
-rw-r--r--lib/isc/socket_api.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/isc/socket_api.c b/lib/isc/socket_api.c
index dca6c34fc37a..cfe2886f82d1 100644
--- a/lib/isc/socket_api.c
+++ b/lib/isc/socket_api.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009, 2011, 2012, 2014 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2009, 2011, 2012, 2014, 2015 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -210,10 +210,10 @@ isc_socket_gettype(isc_socket_t *sock) {
}
void
-isc_socket_setname(isc_socket_t *socket, const char *name, void *tag) {
- REQUIRE(ISCAPI_SOCKET_VALID(socket));
+isc_socket_setname(isc_socket_t *sock, const char *name, void *tag) {
+ REQUIRE(ISCAPI_SOCKET_VALID(sock));
- UNUSED(socket); /* in case REQUIRE() is empty */
+ UNUSED(sock); /* in case REQUIRE() is empty */
UNUSED(name);
UNUSED(tag);
}