Skip to content

Commit 24daa7c

Browse files
sstepashkaDmitrii Kuragin
authored andcommitted
Fix ASAN detection in main.cc.
1 parent b36b8b6 commit 24daa7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

p4-fusion/main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ int Main(int argc, char** argv)
9090
P4API::P4PORT = Arguments::GetSingleton()->GetPort();
9191
P4API::P4USER = Arguments::GetSingleton()->GetUsername();
9292

93-
const Error& serviceConnectionResult = P4API().TestConnection(5).GetError();
93+
const Error serviceConnectionResult = P4API().TestConnection(5).GetError();
9494
bool serverAvailable = serviceConnectionResult.IsError() == 0;
9595
if (serverAvailable)
9696
{

0 commit comments

Comments
 (0)