Fix spelling of background_process.
authorJeremy Allison <jra@samba.org>
Tue, 15 Oct 2002 21:34:42 +0000 (21:34 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 15 Oct 2002 21:34:42 +0000 (21:34 +0000)
Jeremy.

source/nsswitch/winbindd_cache.c
source/nsswitch/winbindd_dual.c

index 8c02160e029d664ec183762a961a8bf0c0e1115b..6ba1d48f5af60529dd42a26d43a96bae5eac3ebc 100644 (file)
@@ -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;
index d32d62edaa185416c15a9fe52e624d99ed9e213b..a7523138ea16c4f11ced19c1b5f39f6816908081 100644 (file)
@@ -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;
 }