Skip to content

Commit

Permalink
fix a bug in daservice
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinYellow committed May 1, 2018
1 parent e16ddc5 commit c2e1f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SCADA/Program/BatchCoreService/DAService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ private void SendData(object obj)
sendBuffer[4] = dt1[1];
SocketError err;
//bytes.CopyTo(bytes2, 0);
List<Socket> sockets = new List<Socket>(_socketThreadList.Count);
List<Socket> sockets = new List<Socket>();
foreach (var socket in _socketThreadList)
{
if (!socket.Key.Equals(tempdata.Address))
Expand Down

0 comments on commit c2e1f58

Please sign in to comment.