* follo hashiterator api-change
[citadel.git] / citadel / modules / openid / serv_openid_rp.c
index 2fb909784a37cb1e940594f113aebd0497e7b107..c911bda9b626aa005797b9e12b4b0082cac277a0 100644 (file)
@@ -150,7 +150,7 @@ void openid_purge(struct ctdluser *usbuf) {
 
        /* Go through the hash list, deleting keys we stored in it */
 
-       HashPos = GetNewHashPos();
+       HashPos = GetNewHashPos(keys, 0);
        while (GetNextHashPos(keys, HashPos, &len, &Key, &Value)!=0)
        {
                CtdlLogPrintf(CTDL_DEBUG, "Deleting associated OpenID <%s>\n", Value);