diff options
Diffstat (limited to 'src/nshd/hackers_git/db_shadow.go')
-rw-r--r-- | src/nshd/hackers_git/db_shadow.go | 6 |
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) |