Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
libfprint
fprintd
Commits
6a2753ea
Commit
6a2753ea
authored
Oct 31, 2008
by
Bastien Nocera
Committed by
Daniel Drake
Nov 03, 2008
Browse files
And call g_type_init()
Otherwise it just won't work...
parent
4fa55526
Changes
1
Hide whitespace changes
Inline
Side-by-side
pam/pam_fprintd.c
View file @
6a2753ea
...
...
@@ -347,6 +347,8 @@ PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc,
const
char
*
username
;
int
r
;
g_type_init
();
pam_get_item
(
pamh
,
PAM_RHOST
,
(
const
void
**
)(
const
void
*
)
&
rhost
);
if
(
rhost
!=
NULL
&&
strlen
(
rhost
)
>
0
)
{
/* remote login (e.g. over SSH) */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment