Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong arguments count in transaction.go #1

AlexBaker- opened this issue Jun 1, 2019 · 1 comment


None yet
1 participant
Copy link

commented Jun 1, 2019

$ go install ./...
# _/home/albaker/github/modsecurity-go/libmodsecurity
./transaction.go:119:32: not enough arguments in call to _Cfunc_msc_process_response_headers
	have (*_Ctype_struct_Transaction_t)
	want (*_Ctype_struct_Transaction_t, _Ctype_int, *_Ctype_char)

This comment has been minimized.

Copy link
Owner Author

commented Jun 1, 2019

Modify line 119 to look as follows:

        cs := C.CString("HTTP/1.1")
        C.msc_process_response_headers(t.trans, 200, cs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.