Fix typo
authorDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Thu, 20 Dec 2007 22:23:22 +0000 (17:23 -0500)
committerDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Thu, 20 Dec 2007 22:23:22 +0000 (17:23 -0500)
pam_csc.c

index 66d7875..bbfbb23 100644 (file)
--- a/pam_csc.c
+++ b/pam_csc.c
@@ -103,7 +103,7 @@ int pam_csc_sasl_interact(LDAP* ld, unsigned flags, void* def, void* inter)
             interact->result = "";
             break;
         }
-        interact->len = strlen(param->result);
+        interact->len = strlen(interact->result);
     }
 
     return LDAP_SUCCESS;