Skip to content

Commit

Permalink
squash w/ startup/shutdown. Use static_cast in execl call - rsPamAuth…
Browse files Browse the repository at this point in the history
…Request.cpp.
  • Loading branch information
korydraughn committed Nov 15, 2024
1 parent 24b2105 commit c723922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/api/src/rsPamAuthRequest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ runPamAuthCheck( char *username, char *password ) {
}
close( p2cp[1] );
const auto binary = irods::get_irods_sbin_directory() / "irodsPamAuthCheck";
i = execl(binary.c_str(), binary.c_str(), username, nullptr); // NOLINT(cppcoreguidelines-pro-type-vararg)
i = execl(binary.c_str(), binary.c_str(), username, static_cast<char*>(nullptr)); // NOLINT(cppcoreguidelines-pro-type-vararg)
perror( "execl" );
printf( "execl failed %d\n", i );
}
Expand Down

0 comments on commit c723922

Please sign in to comment.