mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:client:smbspool_krb5_wrapper: fix the non clearenv build.
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Fri Apr 29 19:52:23 CEST 2016 on sn-devel-144
This commit is contained in:
parent
d28282ce57
commit
e0d8c6b6b4
@ -31,6 +31,8 @@
|
||||
|
||||
#include "dynconfig/dynconfig.h"
|
||||
|
||||
#undef calloc
|
||||
|
||||
enum cups_smb_dbglvl_e {
|
||||
CUPS_SMB_LOG_DEBUG = 0,
|
||||
CUPS_SMB_LOG_ERROR,
|
||||
@ -199,8 +201,10 @@ int main(int argc, char *argv[])
|
||||
#ifdef HAVE_CLEARENV
|
||||
clearenv();
|
||||
#else
|
||||
extern char **environ;
|
||||
environ = calloc(1, sizeof(*environ));
|
||||
{
|
||||
extern char **environ;
|
||||
environ = calloc(1, sizeof(*environ));
|
||||
}
|
||||
#endif
|
||||
|
||||
CUPS_SMB_DEBUG("Setting KRB5CCNAME to '%s'", gen_cc);
|
||||
|
Loading…
Reference in New Issue
Block a user