diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-10-05 18:03:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:07:47 -0500 |
commit | 719a4ae0d32ab9ba817fd01f2b8f4cba220a8c60 (patch) | |
tree | 5235b8d927cdb765432398df1af8ce9ca9ddf4bf /source4/lib/socket/socket.c | |
parent | 42bdfc3f6ce61fcd4f0d31c48dee470b62a9d59b (diff) | |
download | samba-719a4ae0d32ab9ba817fd01f2b8f4cba220a8c60.tar.gz samba-719a4ae0d32ab9ba817fd01f2b8f4cba220a8c60.tar.bz2 samba-719a4ae0d32ab9ba817fd01f2b8f4cba220a8c60.zip |
r25522: Convert to standard bool types.
(This used to be commit 5e814287ba475e12f8cc934fdd09b199dcdfdb86)
Diffstat (limited to 'source4/lib/socket/socket.c')
-rw-r--r-- | source4/lib/socket/socket.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/socket/socket.c b/source4/lib/socket/socket.c index 6da35f3af8..92f0a44005 100644 --- a/source4/lib/socket/socket.c +++ b/source4/lib/socket/socket.c @@ -77,7 +77,7 @@ _PUBLIC_ NTSTATUS socket_create_with_ops(TALLOC_CTX *mem_ctx, const struct socke /* we don't do a connect() on dgram sockets, so need to set non-blocking at socket create time */ if (!(flags & SOCKET_FLAG_BLOCK) && type == SOCKET_TYPE_DGRAM) { - set_blocking(socket_get_fd(*new_sock), False); + set_blocking(socket_get_fd(*new_sock), false); } talloc_set_destructor(*new_sock, socket_destructor); @@ -502,12 +502,12 @@ _PUBLIC_ void set_socket_options(int fd, const char *options) int ret=0,i; int value = 1; char *p; - BOOL got_value = False; + bool got_value = false; if ((p = strchr(tok,'='))) { *p = 0; value = atoi(p+1); - got_value = True; + got_value = true; } for (i=0;socket_options[i].name;i++) |