summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-10-15 21:34:42 +0000
committerJeremy Allison <jra@samba.org>2002-10-15 21:34:42 +0000
commite3522b2123bbb07eea0068afc939756e0e655696 (patch)
tree43cc3a5aab6c33217dfec51d0b7e876115e0935f
parent400864a7b380c890156b1303f8327b9019add60a (diff)
downloadsamba-e3522b2123bbb07eea0068afc939756e0e655696.tar.gz
samba-e3522b2123bbb07eea0068afc939756e0e655696.tar.bz2
samba-e3522b2123bbb07eea0068afc939756e0e655696.zip
Fix spelling of background_process.
Jeremy. (This used to be commit 2006e36c18bb2d5e44179829c66934efad38b0c7)
-rw-r--r--source3/nsswitch/winbindd_cache.c4
-rw-r--r--source3/nsswitch/winbindd_dual.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c
index 8c02160e02..6ba1d48f5a 100644
--- a/source3/nsswitch/winbindd_cache.c
+++ b/source3/nsswitch/winbindd_cache.c
@@ -301,8 +301,8 @@ static struct cache_entry *wcache_fetch(struct winbind_cache *cache,
extern BOOL opt_dual_daemon;
if (opt_dual_daemon) {
- extern BOOL backgroud_process;
- backgroud_process = True;
+ extern BOOL background_process;
+ background_process = True;
} else {
centry_free(centry);
return NULL;
diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c
index d32d62edaa..a7523138ea 100644
--- a/source3/nsswitch/winbindd_dual.c
+++ b/source3/nsswitch/winbindd_dual.c
@@ -35,7 +35,7 @@
#define DBGC_CLASS DBGC_WINBIND
extern BOOL opt_dual_daemon;
-BOOL backgroud_process = False;
+BOOL background_process = False;
int dual_daemon_pipe = -1;
@@ -82,7 +82,7 @@ void dual_select(fd_set *fds)
return;
}
- n = write(dual_daemon_pipe,
+ n = sys_write(dual_daemon_pipe,
&dual_list->data[dual_list->offset],
dual_list->length - dual_list->offset);
@@ -114,7 +114,7 @@ void dual_send_request(struct winbindd_cli_state *state)
{
struct dual_list *list;
- if (!backgroud_process) return;
+ if (!background_process) return;
list = malloc(sizeof(*list));
if (!list) return;
@@ -132,7 +132,7 @@ void dual_send_request(struct winbindd_cli_state *state)
dual_list_end = list;
}
- backgroud_process = False;
+ background_process = False;
}