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:
parent
2fc7038ca4
commit
70d5d18643
|
@ -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') {
|
||||
|
|
Loading…
Reference in New Issue