diff options
author | ferhat elmas <elmas.ferhat@gmail.com> | 2016-11-07 20:32:00 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-11-07 20:32:00 +0100 |
commit | 7b0f65f5f5486f5e32f749826744929813734e24 (patch) | |
tree | da3d4bbf7caf3fe5d712fb3a1df9c42fb549ee2c /cshared/auth_method_cshared.go | |
parent | 0ff9ef2b44c53e557c78bde0fd9c29847e5f0e23 (diff) | |
download | go-git-7b0f65f5f5486f5e32f749826744929813734e24.tar.gz |
gofmt simplify (#111)
Diffstat (limited to 'cshared/auth_method_cshared.go')
-rw-r--r-- | cshared/auth_method_cshared.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cshared/auth_method_cshared.go b/cshared/auth_method_cshared.go index afd9549..2219edb 100644 --- a/cshared/auth_method_cshared.go +++ b/cshared/auth_method_cshared.go @@ -87,12 +87,12 @@ func c_ParseAuthorizedKey(in []byte) (uint64, *C.char, *C.char, *C.char, int, in pkey, comment, options, rest, err := ssh.ParseAuthorizedKey(in) if err != nil { return IH, nil, nil, nil, 0, ErrorCodeInternal, - C.CString(err.Error()) + C.CString(err.Error()) } pkey_handle := RegisterObject(&pkey) mopt := strings.Join(options, "\xff") return uint64(pkey_handle), C.CString(comment), C.CString(mopt), - C.CString(string(rest)), len(rest), ErrorCodeSuccess, nil + C.CString(string(rest)), len(rest), ErrorCodeSuccess, nil } //export c_ssh_Password_New @@ -189,4 +189,4 @@ func c_ssh_PublicKeys_set_Signer(p uint64, v uint64) { return } obj.(*gssh.PublicKeys).Signer = *signer.(*ssh.Signer) -}
\ No newline at end of file +} |