cifs.upcall: clean up flag handling
authorJeff Layton <jlayton@redhat.com>
Wed, 14 Oct 2009 14:58:47 +0000 (10:58 -0400)
committerKarolin Seeger <kseeger@samba.org>
Fri, 16 Oct 2009 13:02:52 +0000 (15:02 +0200)
commit531a2f482d7519122f79d9d8049a96f63d361a2f
tree2693b88ea8e4cb9b000be59141395e5e572a2ccd
parentedca7df0dd43ee1d7ae2fc4954470efdf64a4d8e
cifs.upcall: clean up flag handling

Add a new stack var to hold the flags returned by the decoder routine
so that we don't need to worry so much about preserving "rc".

With this, we can drop privs before trying to find the location of
the credcache.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
source3/client/cifs.upcall.c