summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource/configure.developer4
-rw-r--r--source/smbd/connection.c10
2 files changed, 7 insertions, 7 deletions
diff --git a/source/configure.developer b/source/configure.developer
index efc6e23fc42..618026b66e1 100755
--- a/source/configure.developer
+++ b/source/configure.developer
@@ -1,3 +1,3 @@
#!/bin/sh
-CFLAGS="-g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -DDEBUG_PASSWORD"; export CFLAGS
-./configure $*
+CFLAGS="-g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -DDEBUG_PASSWORD" \
+ `dirname $0`/configure "$@"
diff --git a/source/smbd/connection.c b/source/smbd/connection.c
index f049b473046..8b613d8f8ae 100644
--- a/source/smbd/connection.c
+++ b/source/smbd/connection.c
@@ -328,8 +328,8 @@ static void utmp_yield(pid_t pid, const connection_struct *conn)
return;
}
- DEBUG(2,("utmp_yield: conn: user:%s cnum:%d i:%d\n",
- conn->user, conn->cnum, i));
+ DEBUG(2,("utmp_yield: conn: user:%s cnum:%d\n",
+ conn->user, conn->cnum));
memset((char *)&u, '\0', sizeof(struct utmp));
u.ut_type = DEAD_PROCESS;
@@ -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;
@@ -354,8 +354,8 @@ static void utmp_claim(const struct connect_record *crec, const connection_struc
return;
}
- DEBUG(2,("utmp_claim: conn: user:%s cnum:%d i:%d\n",
- conn->user, conn->cnum, i));
+ DEBUG(2,("utmp_claim: conn: user:%s cnum:%d\n",
+ conn->user, conn->cnum));
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_connection_name()));