1 parent fc16bb2 commit ded06e5Copy full SHA for ded06e5
1 file changed
src/dpq2/cancellation.d
@@ -105,7 +105,7 @@ class Cancellation
105
}
106
107
///
108
- auto socketDuplicate()
+ auto socket()
109
{
110
import dpq2.socket_stuff: duplicateSocket;
111
@@ -114,7 +114,7 @@ class Cancellation
114
if(s == -1)
115
throw new CancellationException(errorMessage);
116
117
- return s.duplicateSocket;
+ return s;
118
119
120
0 commit comments