X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=server.c;h=be3f2a9e0d10d6b52efd8cf3f252a82827c03d82;hb=b8ff92a2caafa557608b84f4a037a5b3ce2628f7;hp=e3149c9caa371513ea1a64e95a39389cb1c7a8dd;hpb=e591be4b2ed26bbaaea79eff64e7b6070362a6ef;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/server.c b/server.c index e3149c9..be3f2a9 100644 --- a/server.c +++ b/server.c @@ -397,8 +397,8 @@ int main( int argc, char *argv[] ) hSteamHTTP, k_EHTTPMethodGET, "https://www.harrygodden.com/hello.txt" ); - steam_async *call1 = steam_new_async(); - call1->data = NULL; + vg_steam_async_call *call1 = vg_alloc_async_steam_api_call(); + call1->userdata = NULL; call1->p_handler = recieve_http; SteamAPI_ISteamHTTP_SendHTTPRequest( hSteamHTTP, test_req, &call1->id ); #endif