mirror of
https://github.com/bol-van/zapret.git
synced 2025-01-31 10:22:20 +03:00
nfqws: fix minor clang warning
This commit is contained in:
parent
b610f08a9c
commit
e5f20d05f6
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user