]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Formatting
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 9 Oct 2015 20:31:56 +0000 (16:31 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 9 Oct 2015 20:34:06 +0000 (16:34 -0400)
src/main/tls.c

index 1e1e4f50ec9474c20576614a45376ee968aa7fe8..98adb7dafef44f1d156ed9edd88762224826185b 100644 (file)
@@ -695,8 +695,8 @@ static unsigned int record_minus(record_t *rec, void *ptr,
        /*
         *      This is pretty bad...
         */
-       if(rec->used > 0)
-               memmove(rec->data, rec->data + taken, rec->used);
+       if (rec->used > 0) memmove(rec->data, rec->data + taken, rec->used);
+
        return taken;
 }
 
@@ -711,9 +711,7 @@ void tls_session_information(tls_session_t *tls_session)
         *      Don't print this out in the normal course of
         *      operations.
         */
-       if (rad_debug_lvl == 0) {
-               return;
-       }
+       if (rad_debug_lvl == 0) return;
 
        str_write_p = tls_session->info.origin ? ">>>" : "<<<";