summaryrefslogtreecommitdiffhomepage
path: root/go
diff options
context:
space:
mode:
Diffstat (limited to 'go')
-rw-r--r--go/port.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/go/port.go b/go/port.go
index 78351322..388adc4a 100644
--- a/go/port.go
+++ b/go/port.go
@@ -120,7 +120,8 @@ func nxt_go_add_port(ctx *C.nxt_unit_ctx_t, p *C.nxt_unit_port_t) C.int {
}
//export nxt_go_remove_port
-func nxt_go_remove_port(unit *C.nxt_unit_t, p *C.nxt_unit_port_t) {
+func nxt_go_remove_port(unit *C.nxt_unit_t, ctx *C.nxt_unit_ctx_t,
+ p *C.nxt_unit_port_t) {
key := port_key{
pid: int(p.id.pid),