Skip to content

Commit 44414f4

Browse files
committed
Use string for SNI instead of byte[]
1 parent ccb77e8 commit 44414f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Microsoft.Data.SqlClient/src/Interop/Windows/Sni/SniNativeWrapper.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,8 @@ internal static unsafe uint SNIOpenSyncEx(
344344
case (2):
345345
clientConsumerInfo.transparentNetworkResolution = TransparentNetworkResolutionMode.ParallelMode;
346346
break;
347-
};
347+
}
348+
;
348349
clientConsumerInfo.totalTimeout = totalTimeout;
349350
#else
350351
clientConsumerInfo.transparentNetworkResolution = TransparentNetworkResolutionMode.DisabledMode;

0 commit comments

Comments
 (0)