Really fix the bare %{Attribute-Name} support.
authorphampson <phampson>
Wed, 24 Sep 2003 09:14:01 +0000 (09:14 +0000)
committerphampson <phampson>
Wed, 24 Sep 2003 09:14:01 +0000 (09:14 +0000)
Again thanks to Nicolas Baradakis <nbk@sitadelle.com>

src/main/xlat.c

index 1063641..7313657 100644 (file)
@@ -349,7 +349,7 @@ static void decode_attribute(const char **from, char **to, int freespace,
                /*
                 *      Nothing else, it MUST be a bare attribute name.
                 */
-       } else if (decode_attr_packet(&attrname, &q, freespace, request->packet, func)) {
+       } else if (decode_attr_packet(attrname, &q, freespace, request->packet, func)) {
                found = 1;
        } else {
                /*