Fix the daemon crash that I was seeing

This commit is contained in:
Andrew Williams 2014-01-11 22:33:52 +00:00
parent a19cc858b9
commit e52b09740c
1 changed files with 2 additions and 2 deletions

View File

@ -231,8 +231,8 @@ entrance_pam_init(const char *service, const char *display, const char *user)
{
int status;
if (!service && !*service) goto pam_error;
if (!display && !*display) goto pam_error;
if (!service || !*service) goto pam_error;
if (!display || !*display) goto pam_error;
_pam_conversation.conv = _entrance_pam_conv;
_pam_conversation.appdata_ptr = NULL;