summaryrefslogtreecommitdiffstats
path: root/source/lib/util.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-10-23 00:58:28 +0000
committerJeremy Allison <jra@samba.org>1998-10-23 00:58:28 +0000
commit8e1ce307bd6a9056b4a95fe6f52ff42dc6e03a08 (patch)
treea9f24656f9f669c524dde8e245cbcc4d1dc132f2 /source/lib/util.c
parent97609596647dea39c061bdf972411a86f7294521 (diff)
downloadsamba-8e1ce307bd6a9056b4a95fe6f52ff42dc6e03a08.tar.gz
samba-8e1ce307bd6a9056b4a95fe6f52ff42dc6e03a08.tar.xz
samba-8e1ce307bd6a9056b4a95fe6f52ff42dc6e03a08.zip
include/smb.h: Added #defines for lots of things - makes our code a *lot* easier to read.
lib/util.c: Fixed Luke's set_first_token() function - should return void. smbd/close.c: Move delete_on_close into file_fd_struct structure. smbd/ipc.c: Changed local_machine back to fstring. smbd/nttrans.c: Use defines for mapping share modes. smbd/open.c: Move delete_on_close into file_fd_struct structure, added code for ALLOW_SHARE_DELETE. smbd/reply.c: Use defines for mapping share modes. smbd/trans2.c: Move delete_on_close into file_fd_struct structure. Jeremy.
Diffstat (limited to 'source/lib/util.c')
-rw-r--r--source/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util.c b/source/lib/util.c
index d4f939e0813..ced6786194d 100644
--- a/source/lib/util.c
+++ b/source/lib/util.c
@@ -125,7 +125,7 @@ BOOL is_a_socket(int fd)
static char *last_ptr=NULL;
-BOOL set_first_token(char *ptr)
+void set_first_token(char *ptr)
{
last_ptr = ptr;
}