Skip to content

Commit

Permalink
fix: adf version drop string conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
mogaika committed Apr 8, 2024
1 parent 7d4983e commit 8f2a37a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion upf/upf_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ vl_api_adf_version_drop_t_handler (vl_api_adf_version_drop_t *mp)
upf_main_t *sm = &upf_main;
vl_api_adf_version_drop_reply_t *rmp;

u32 rv = upf_adf_drop_uncommited_version (mp->app_name);
u8 *app_name = vec_from_cstring (mp->app_name, sizeof (mp->app_name));

u32 rv = upf_adf_drop_uncommited_version (app_name);

REPLY_MACRO (VL_API_ADF_VERSION_DROP_REPLY);
}
Expand Down

0 comments on commit 8f2a37a

Please sign in to comment.