Use new not dNew.

This commit is contained in:
2025-08-06 02:29:37 -04:00
parent 9125a4e901
commit af0c428934

View File

@ -893,7 +893,7 @@ static ClientInfo *File_add_client(int sock_fd)
{
ClientInfo *new_client;
new_client = dNew(ClientInfo, 1);
new_client = new ClientInfo;
new_client->sh = a_Dpip_dsh_new(sock_fd, sock_fd, 8*1024);
new_client->orig_url = NULL;
new_client->filename = NULL;
@ -906,6 +906,7 @@ static ClientInfo *File_add_client(int sock_fd)
new_client->old_style = OLD_STYLE;
dList_append(Clients, new_client);
return new_client;
}