summaryrefslogtreecommitdiff
path: root/src/nshd/hackers_git/db_shadow.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-09-02 13:33:04 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-09-02 13:33:04 -0600
commit212105ea42362d49416e9d32261e2e099632c38c (patch)
treec0ba9066a9b44aeb50e0f95440fe4bade09cc3e9 /src/nshd/hackers_git/db_shadow.go
parent26ccaab75a1eae3d71a6497dacc7818f8e62417d (diff)
clean up formatting
Diffstat (limited to 'src/nshd/hackers_git/db_shadow.go')
-rw-r--r--src/nshd/hackers_git/db_shadow.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nshd/hackers_git/db_shadow.go b/src/nshd/hackers_git/db_shadow.go
index 08384d9..df628cf 100644
--- a/src/nshd/hackers_git/db_shadow.go
+++ b/src/nshd/hackers_git/db_shadow.go
@@ -25,7 +25,7 @@ func (o *Hackers) Shadow_ByName(cred p.Ucred, req p.Request_Shadow_ByName) p.Sha
ExpireDate: -1,
Flag: -1,
}
-
+
return util.New_Shadow_List([]p.Shadow{shadow})
}
@@ -66,9 +66,9 @@ func (e *allShadowEnumerator) GenericGetNext() (interface{}, error) {
func (o *Hackers) newAllShadowEnumerator() *allShadowEnumerator {
o.lock.RLock()
e := allShadowEnumerator{
- uids: make([]int32, len(o.users)),
+ uids: make([]int32, len(o.users)),
backend: o,
- done: false,
+ done: false,
}
for uid, _ := range o.users {
e.uids = append(e.uids, uid)