Use braces. This closes #429
authoraland <aland>
Fri, 16 Mar 2007 13:22:03 +0000 (13:22 +0000)
committeraland <aland>
Fri, 16 Mar 2007 13:22:03 +0000 (13:22 +0000)
src/main/radrelay.c

index 9484db6..04adece 100644 (file)
@@ -389,9 +389,10 @@ int do_recv(struct relay_misc *r_args)
         *      Must be an accounting response.
         *      FIXME: check if this is the right server!
         */
-       if (rep->code != PW_ACCOUNTING_RESPONSE)
+       if (rep->code != PW_ACCOUNTING_RESPONSE) {
                rad_free(&rep);
                return -1;
+       }
 
        /*
         *      Decode packet into radius attributes.