Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
alanking committed Sep 13, 2023
1 parent aa0fad7 commit fca976f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/api/src/rsGetLimitedPassword.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<getLimitedPasswordOut_t*>(std::malloc( sizeof( getLimitedPasswordOut_t ) ));
myGetLimitedPasswordOut = static_cast<getLimitedPasswordOut_t*>(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;
Expand Down

0 comments on commit fca976f

Please sign in to comment.