Missed & operator
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 11 Dec 2012 11:28:02 +0000 (11:28 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 11 Dec 2012 11:28:02 +0000 (11:28 +0000)
src/modules/rlm_ldap/rlm_ldap.c

index b0cf287..99bc367 100644 (file)
@@ -2253,7 +2253,7 @@ static int user_modify(ldap_instance *inst, REQUEST *request,
                        
                        passed[last_pass] = p;
                } else {
-                       memcpy(&(passed[last_pass]), value,
+                       memcpy(&(passed[last_pass]), &value,
                               sizeof(passed[last_pass]));
                }