Verified Commit 320efead authored by Tommaso Tocci's avatar Tommaso Tocci
Browse files

fix if without braces

parent 53f93031
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -427,9 +427,9 @@ static hg_return_t rpc_srv_mk_symlink(hg_handle_t handle) {
    rpc_err_out_t out{};
    rpc_err_out_t out{};


    auto ret = margo_get_input(handle, &in);
    auto ret = margo_get_input(handle, &in);
    if (ret != HG_SUCCESS)
    if (ret != HG_SUCCESS) {
        ADAFS_DATA->spdlogger()->error("{}() Failed to retrieve input from handle", __func__);
        ADAFS_DATA->spdlogger()->error("{}() Failed to retrieve input from handle", __func__);
    assert(ret == HG_SUCCESS);
    }
    ADAFS_DATA->spdlogger()->debug("{}() Got RPC (from local {}) with path {}", __func__,
    ADAFS_DATA->spdlogger()->debug("{}() Got RPC (from local {}) with path {}", __func__,
                                   (margo_get_info(handle)->context_id == ADAFS_DATA->host_id()), in.path);
                                   (margo_get_info(handle)->context_id == ADAFS_DATA->host_id()), in.path);


@@ -457,4 +457,3 @@ static hg_return_t rpc_srv_mk_symlink(hg_handle_t handle) {
DEFINE_MARGO_RPC_HANDLER(rpc_srv_mk_symlink)
DEFINE_MARGO_RPC_HANDLER(rpc_srv_mk_symlink)


#endif
#endif