nfqws: fix minor clang warning

This commit is contained in:
bol-van 2025-01-28 12:45:35 +03:00
parent b610f08a9c
commit e5f20d05f6

View File

@ -1035,7 +1035,7 @@ static void onetime_tls_mod(struct desync_profile *dp)
char *s1=NULL, *s2=NULL;
if (params.debug)
{
if (s1 = malloc(slen+1))
if ((s1 = malloc(slen+1)))
{
memcpy(s1,sni,slen); s1[slen]=0;
}