summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-10-15 21:34:40 +0000
committerJeremy Allison <jra@samba.org>2002-10-15 21:34:40 +0000
commit04b02e86ac956604366549e4b8542910c16b6ae7 (patch)
tree18197efaf51b173b7ca284c446a522febfb8c504
parent2e86b6bcc827cf803734f0e6c2620ade4df1d098 (diff)
downloadsamba-04b02e86ac956604366549e4b8542910c16b6ae7.tar.gz
samba-04b02e86ac956604366549e4b8542910c16b6ae7.tar.bz2
samba-04b02e86ac956604366549e4b8542910c16b6ae7.zip
Fix spelling of background_process.
Jeremy. (This used to be commit 94fc0ea9f99bc73486ef374a84d2c20ce895ee14)
-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;
}