Skip to content

Commit

Permalink
Bump & adapt cs2s
Browse files Browse the repository at this point in the history
  • Loading branch information
Coekjan committed Sep 16, 2024
1 parent 1b52e64 commit cecacae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cs2s
Submodule cs2s updated from 72419f to cc5cf8
2 changes: 1 addition & 1 deletion src/cs2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ int cs2c_lookup(
if ((ret = cs2s_ro_lookup(cs2s_ro, path, guest_size, guest_sign, host_meta_ptr, host_meta_size, host_code_ptr, host_code_size)) == -EINVAL) {
printf_log(LOG_NONE, "Failed to lookup address in lookup router: %d\n", ret);
}
if (ret == -0x80000000) {
if ((ret & 0xf0000000) == 0x80000000) {
cs2c_path_attach((const char*[]) { path }, 1);
if ((ret = cs2s_ro_lookup(cs2s_ro, path, guest_size, guest_sign, host_meta_ptr, host_meta_size, host_code_ptr, host_code_size)) == -EINVAL) {
printf_log(LOG_NONE, "Failed to lookup address in lookup router: %d\n", ret);
Expand Down

0 comments on commit cecacae

Please sign in to comment.