Skip to content

Commit ded06e5

Browse files
committed
Cancellation.socketDuplicate() -> socket()
1 parent fc16bb2 commit ded06e5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/dpq2/cancellation.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class Cancellation
105105
}
106106

107107
///
108-
auto socketDuplicate()
108+
auto socket()
109109
{
110110
import dpq2.socket_stuff: duplicateSocket;
111111

@@ -114,7 +114,7 @@ class Cancellation
114114
if(s == -1)
115115
throw new CancellationException(errorMessage);
116116

117-
return s.duplicateSocket;
117+
return s;
118118
}
119119
}
120120

0 commit comments

Comments
 (0)