mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
patch from Dominik Kubla <dominik.kubla@uni-mainz.de>
This commit is contained in:
parent
92109d7b3c
commit
9c598e571d
@ -23,10 +23,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
#ifdef WITH_PROFILE
|
#ifdef WITH_PROFILE
|
||||||
|
#include <sys/shm.h>
|
||||||
#ifndef HAVE_SYSV_IPC
|
|
||||||
#error "You must have SYSV shared memory to compile in the profiling code"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern int DEBUGLEVEL;
|
extern int DEBUGLEVEL;
|
||||||
|
|
||||||
|
@ -340,7 +340,7 @@ static void utmp_yield(pid_t pid, const connection_struct *conn)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void utmp_claim(const struct connect_record *crec, const connection_struct *conn)
|
static void utmp_claim(const struct connections_data *crec, const connection_struct *conn)
|
||||||
{
|
{
|
||||||
struct utmp u;
|
struct utmp u;
|
||||||
|
|
||||||
@ -354,8 +354,8 @@ static void utmp_claim(const struct connect_record *crec, const connection_struc
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG(2,("utmp_claim: conn: user:%s cnum:%d i:%d\n",
|
DEBUG(2,("utmp_claim: conn: user:%s cnum:%d\n",
|
||||||
conn->user, conn->cnum, i));
|
conn->user, conn->cnum));
|
||||||
DEBUG(2,("utmp_claim: crec: pid:%d, cnum:%d name:%s addr:%s mach:%s DNS:%s\n",
|
DEBUG(2,("utmp_claim: crec: pid:%d, cnum:%d name:%s addr:%s mach:%s DNS:%s\n",
|
||||||
crec->pid, crec->cnum, crec->name, crec->addr, crec->machine, client_name()));
|
crec->pid, crec->cnum, crec->name, crec->addr, crec->machine, client_name()));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user