* Fix a FIXME to put the Auth-Type at the first of the pair
authorhartwick <hartwick>
Wed, 31 Jan 2001 04:36:37 +0000 (04:36 +0000)
committerhartwick <hartwick>
Wed, 31 Jan 2001 04:36:37 +0000 (04:36 +0000)
  list.  The changes seemed too easy so I left the old code
  and some debugging code.

src/main/files.c

index 0617bd0..b4f7028 100644 (file)
@@ -105,8 +105,16 @@ static void auth_type_fixup(VALUE_PAIR *check)
        vp->lvalue = n;
        vp->operator = T_OP_ADD;
 
+#if 0
        vp->next = c->next;
        c->next = vp;
+#endif
+       vp->next = check;
+       check = vp;
+
+       for(vp = check; vp; vp = vp->next) {
+               DEBUG2("  auth_type_fixup: %s [%d]", vp->name, vp->attribute);
+       }
 
 }