all repos — honk @ 20f013e24b4e284bd041abce25a01a0fa6b72179

my fork of honk

u
Anirudh Oppiliappan x@icyphox.sh
Tue, 26 Sep 2023 21:30:13 +0300
commit

20f013e24b4e284bd041abce25a01a0fa6b72179

parent

c7aa79da46531941446057ae8f2c0ddafb69e2ff

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M masto_util.gomasto_util.go

@@ -15,17 +15,17 @@ header http.Header

status int } -func (w NotResponseWriter) Header() http.Header { +func (w *NotResponseWriter) Header() http.Header { return w.header } -func (w NotResponseWriter) Write(b []byte) (int, error) { +func (w *NotResponseWriter) Write(b []byte) (int, error) { dlog.Println("notresponsewriter: oauth code:", string(b)) w.auth = string(b) return 0, nil } -func (w NotResponseWriter) WriteHeader(statusCode int) { +func (w *NotResponseWriter) WriteHeader(statusCode int) { w.status = statusCode }