Cedar/Hub: Properly set value for hub admin options

Same deal as with the previous commit: worked fine as long as bool was 4-bytes wide.
This commit is contained in:
Davide Beatrici committed 2021-03-01 03:01:34 +01:00
1 parent 562ffe8945
commit 2078a069de
2 files changed
+67 -76

No files matched your search

-1
View File
@@ -519,7 +519,6 @@ void HubOptionStructToData(RPC_ADMIN_OPTION *ao, HUB_OPTION *o, char *hub_name);
ADMIN_OPTION *NewAdminOption(char *name, UINT value);
void DataToHubOptionStruct(HUB_OPTION *o, RPC_ADMIN_OPTION *ao);
UINT GetHubAdminOptionData(RPC_ADMIN_OPTION *ao, char *name);
void GetHubAdminOptionDataAndSet(RPC_ADMIN_OPTION *ao, char *name, UINT *dest);
bool IsURLMsg(wchar_t *str, char *url, UINT url_size);
LIST *NewUserList();
void DeleteAllUserListCache(LIST *o);