Add comment for parameter, correct spelling in comment.

This commit is contained in:
counterpoint 2015-05-12 11:53:03 +01:00
parent 7d3fa8de37
commit fec1e66a5c
2 changed files with 2 additions and 1 deletions

View File

@ -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 *

View File

@ -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)