Skip to content

Commit

Permalink
last-login: Contexts are now required or checked
Browse files Browse the repository at this point in the history
Satisfies static analyzers
  • Loading branch information
cmouse authored and mrannanj committed Feb 20, 2018
1 parent 19b6330 commit bdf19e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/last-login/last-login-plugin.c
Expand Up @@ -10,7 +10,7 @@
#include "last-login-plugin.h"

#define LAST_LOGIN_USER_CONTEXT(obj) \
MODULE_CONTEXT(obj, last_login_user_module)
MODULE_CONTEXT_REQUIRE(obj, last_login_user_module)

#define LAST_LOGIN_DEFAULT_KEY_PREFIX "last-login/"

Expand Down

0 comments on commit bdf19e1

Please sign in to comment.