File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ module Network.Socket
138
138
, socket
139
139
, withFdSocket
140
140
, unsafeFdSocket
141
- , touchFdSocket
141
+ , touchSocket
142
142
, fdSocket
143
143
, mkSocket
144
144
, socketToHandle
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ module Network.Socket.Types (
13
13
Socket
14
14
, withFdSocket
15
15
, unsafeFdSocket
16
- , touchFdSocket
16
+ , touchSocket
17
17
, fdSocket
18
18
, mkSocket
19
19
, invalidateSocket
@@ -130,8 +130,8 @@ unsafeFdSocket (Socket ref _) = readIORef ref
130
130
-- at the given place in the sequence of IO actions. This function can be
131
131
-- used in conjunction with 'unsafeFdSocket' to guarantee that the file
132
132
-- descriptor is not prematurely freed.
133
- touchFdSocket :: Socket -> IO ()
134
- touchFdSocket (Socket ref _) = touch ref
133
+ touchSocket :: Socket -> IO ()
134
+ touchSocket (Socket ref _) = touch ref
135
135
136
136
touch :: IORef a -> IO ()
137
137
touch (IORef (STRef mutVar)) =
You can’t perform that action at this time.
0 commit comments