Skip to content

Commit

Permalink
Update easy.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mindscratch authored Feb 27, 2019
1 parent 9d81ad3 commit 3ab10df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easy.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ func (curl *CURL) Getinfo(info CurlInfo) (ret interface{}, err error) {
debugf("Getinfo %s", ret)
return ret, err
case C.CURLINFO_SLIST:
a_ptr_slist := new(_Ctype_struct_curl_slist)
a_ptr_slist := new(C.struct_curl_slist)
err := newCurlError(C.curl_easy_getinfo_slist(p, cInfo, &a_ptr_slist))
ret := []string{}
for a_ptr_slist != nil {
Expand Down

0 comments on commit 3ab10df

Please sign in to comment.