From fec1e66a5ca15da6b75be8ca6f062b2a8d9966e9 Mon Sep 17 00:00:00 2001 From: counterpoint Date: Tue, 12 May 2015 11:53:03 +0100 Subject: [PATCH] Add comment for parameter, correct spelling in comment. --- server/core/dcb.c | 1 + server/include/server.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/core/dcb.c b/server/core/dcb.c index 5c5d0a81d..6717aea41 100644 --- a/server/core/dcb.c +++ b/server/core/dcb.c @@ -163,6 +163,7 @@ dcb_get_zombies(void) * This routine performs the generic initialisation on the DCB before returning * the newly allocated DCB. * + * @param dcb_role_t The role for the new DCB * @return A newly allocated DCB or NULL if non could be allocated. */ DCB * diff --git a/server/include/server.h b/server/include/server.h index 459869a0b..734f30365 100644 --- a/server/include/server.h +++ b/server/include/server.h @@ -118,7 +118,7 @@ typedef struct server { */ #define SERVER_IS_RUNNING(server) (((server)->status & (SERVER_RUNNING|SERVER_MAINT)) == SERVER_RUNNING) /** - * Is the server marked as down - the macro returns true if the server is beleived + * Is the server marked as down - the macro returns true if the server is believed * to be inoperable. */ #define SERVER_IS_DOWN(server) (((server)->status & SERVER_RUNNING) == 0)