]> git.tue.mpg.de Git - paraslash.git/commit
simplify lookup_user()
authorAndre Noll <maan@systemlinux.org>
Sun, 11 Feb 2007 20:57:49 +0000 (21:57 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 11 Feb 2007 20:57:49 +0000 (21:57 +0100)
commit2cc93ff31f16e65c1c1f94b0044b32f6be67cbd3
treeb2c43e8bbe24a00ef4e9f0dc5ca209d7301b6ecb
parentc6d61cae8b5f71ae658dc254c6ee38a14f34dae2
simplify lookup_user()

It's easier to just pass the name of the user to be looked up. This
fixes a memory leak btw. because u.name was strdupped and never freed.
That leak wasn't serious though as is happened in the child process.
command.c
error.h
user_list.c
user_list.h