Initialize has_ver and has_so to false, not true.

git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@682 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
Dag-Erling Smørgrav 2013-04-14 14:48:29 +00:00
parent 2fc7038ca4
commit 70d5d18643
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ openpam_dynamic(const char *modname)
* Check for .so and version sufixes
*/
p = strchr(modname, '\0');
has_ver = has_so = 1;
has_ver = has_so = 0;
while (is_digit(*p))
--p;
if (*p == '.' && *++p != '\0') {