Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(205)

Unified Diff: src/pkg/syscall/sockcmsg_linux.go

Issue 6448110: code review 6448110: syscall: expose socket control message helper CmsgData (Closed)
Patch Set: diff -r b42e90a3d42f https://code.google.com/p/go Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/pkg/syscall/sockcmsg_unix.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/syscall/sockcmsg_linux.go
===================================================================
--- a/src/pkg/syscall/sockcmsg_linux.go
+++ b/src/pkg/syscall/sockcmsg_linux.go
@@ -19,7 +19,7 @@
cmsg.Level = SOL_SOCKET
cmsg.Type = SCM_CREDENTIALS
cmsg.SetLen(CmsgLen(SizeofUcred))
- *((*Ucred)(cmsgData(cmsg))) = *ucred
+ *((*Ucred)(CmsgData(cmsg))) = *ucred
return buf
}
« no previous file with comments | « no previous file | src/pkg/syscall/sockcmsg_unix.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b