From fca976f4cbe3ee5c4b245e2444629ad61e61cb90 Mon Sep 17 00:00:00 2001 From: Alan King Date: Wed, 13 Sep 2023 20:50:17 +0000 Subject: [PATCH] clang-format --- server/api/src/rsGetLimitedPassword.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/api/src/rsGetLimitedPassword.cpp b/server/api/src/rsGetLimitedPassword.cpp index 226390299e..1e3b110bde 100644 --- a/server/api/src/rsGetLimitedPassword.cpp +++ b/server/api/src/rsGetLimitedPassword.cpp @@ -67,13 +67,13 @@ _rsGetLimitedPassword( rsComm_t *rsComm, return ttl; } - getLimitedPasswordOut_t *myGetLimitedPasswordOut; + getLimitedPasswordOut_t* myGetLimitedPasswordOut; // NOLINTNEXTLINE(cppcoreguidelines-owning-memory, cppcoreguidelines-no-malloc) - myGetLimitedPasswordOut = static_cast(std::malloc( sizeof( getLimitedPasswordOut_t ) )); + myGetLimitedPasswordOut = static_cast(std::malloc(sizeof(getLimitedPasswordOut_t))); const int status = chlMakeLimitedPw(rsComm, ttl, myGetLimitedPasswordOut->stringToHashWith); - if ( status < 0) { - rodsLog( LOG_NOTICE, "_rsGetLimitedPassword: getLimitedPassword, status = %d", status ); + if (status < 0) { + rodsLog(LOG_NOTICE, "_rsGetLimitedPassword: getLimitedPassword, status = %d", status); } *getLimitedPasswordOut = myGetLimitedPasswordOut;