summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-03-11 00:01:51 +0100
committerVolker Lendecke <vl@samba.org>2012-03-15 10:59:46 +0100
commit157a6916a9cccb7e43137687ec55655e954d8ab8 (patch)
treefc877e5e7e24ae3c57cba80cc8b390f939270f9c /source3
parent7c715207ad123db53b496444a148fb56438dd7b1 (diff)
downloadsamba-157a6916a9cccb7e43137687ec55655e954d8ab8.tar.gz
samba-157a6916a9cccb7e43137687ec55655e954d8ab8.tar.bz2
samba-157a6916a9cccb7e43137687ec55655e954d8ab8.zip
s3: Fix blank line endings
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Mar 15 10:59:46 CET 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/notify_internal.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c
index d68a720e6b..b01b10dd1c 100644
--- a/source3/smbd/notify_internal.c
+++ b/source3/smbd/notify_internal.c
@@ -1,4 +1,4 @@
-/*
+/*
Unix SMB/CIFS implementation.
Copyright (C) Andrew Tridgell 2006
@@ -62,7 +62,7 @@ struct notify_list {
static NTSTATUS notify_remove_all(struct notify_context *notify,
const struct server_id *server);
-static void notify_handler(struct messaging_context *msg_ctx, void *private_data,
+static void notify_handler(struct messaging_context *msg_ctx, void *private_data,
uint32_t msg_type, struct server_id server_id, DATA_BLOB *data);
/*
@@ -84,7 +84,7 @@ static int notify_destructor(struct notify_context *notify)
talloc_free(). We need the messaging_ctx to allow for notifications
via internal messages
*/
-struct notify_context *notify_init(TALLOC_CTX *mem_ctx, struct server_id server,
+struct notify_context *notify_init(TALLOC_CTX *mem_ctx, struct server_id server,
struct messaging_context *messaging_ctx,
struct event_context *ev,
connection_struct *conn)
@@ -129,7 +129,7 @@ struct notify_context *notify_init(TALLOC_CTX *mem_ctx, struct server_id server,
/* register with the messaging subsystem for the notify
message type */
- messaging_register(notify->messaging_ctx, notify,
+ messaging_register(notify->messaging_ctx, notify,
MSG_PVFS_NOTIFY, notify_handler);
notify->sys_notify_ctx = sys_notify_context_create(conn, notify, ev);
@@ -315,7 +315,7 @@ static NTSTATUS notify_save(struct notify_context *notify, struct db_record *rec
/*
handle incoming notify messages
*/
-static void notify_handler(struct messaging_context *msg_ctx, void *private_data,
+static void notify_handler(struct messaging_context *msg_ctx, void *private_data,
uint32_t msg_type, struct server_id server_id, DATA_BLOB *data)
{
struct notify_context *notify = talloc_get_type(private_data, struct notify_context);
@@ -342,13 +342,13 @@ static void notify_handler(struct messaging_context *msg_ctx, void *private_data
}
}
- talloc_free(tmp_ctx);
+ talloc_free(tmp_ctx);
}
/*
callback from sys_notify telling us about changes from the OS
*/
-static void sys_notify_callback(struct sys_notify_context *ctx,
+static void sys_notify_callback(struct sys_notify_context *ctx,
void *ptr, struct notify_event *ev)
{
struct notify_list *listel = talloc_get_type(ptr, struct notify_list);
@@ -371,7 +371,7 @@ static NTSTATUS notify_add_array(struct notify_context *notify, struct db_record
/* possibly expand the depths array */
if (depth >= notify->array->num_depths) {
- d = talloc_realloc(notify->array, notify->array->depth,
+ d = talloc_realloc(notify->array, notify->array->depth,
struct notify_depth, depth+1);
NT_STATUS_HAVE_NO_MEMORY(d);
for (i=notify->array->num_depths;i<=depth;i++) {
@@ -506,7 +506,7 @@ static void notify_add_onelevel(struct notify_context *notify,
directory handle.
*/
NTSTATUS notify_add(struct notify_context *notify, struct notify_entry *e0,
- void (*callback)(void *, const struct notify_event *),
+ void (*callback)(void *, const struct notify_event *),
void *private_data)
{
struct notify_entry e = *e0;
@@ -562,7 +562,7 @@ NTSTATUS notify_add(struct notify_context *notify, struct notify_entry *e0,
to remove bits handled by the backend
*/
status = sys_notify_watch(notify->sys_notify_ctx, &e,
- sys_notify_callback, listel,
+ sys_notify_callback, listel,
&listel->sys_notify_handle);
if (NT_STATUS_IS_OK(status)) {
talloc_steal(listel, listel->sys_notify_handle);
@@ -748,7 +748,7 @@ NTSTATUS notify_remove(struct notify_context *notify, void *private_data)
}
if (i < d->num_entries-1) {
- memmove(&d->entries[i], &d->entries[i+1],
+ memmove(&d->entries[i], &d->entries[i+1],
sizeof(d->entries[i])*(d->num_entries-(i+1)));
}
d->num_entries--;
@@ -786,7 +786,7 @@ static NTSTATUS notify_remove_all(struct notify_context *notify,
for (i=0;i<d->num_entries;i++) {
if (cluster_id_equal(server, &d->entries[i].server)) {
if (i < d->num_entries-1) {
- memmove(&d->entries[i], &d->entries[i+1],
+ memmove(&d->entries[i], &d->entries[i+1],
sizeof(d->entries[i])*(d->num_entries-(i+1)));
}
i--;
@@ -831,7 +831,7 @@ static NTSTATUS notify_send(struct notify_context *notify, struct notify_entry *
return ndr_map_error2ntstatus(ndr_err);
}
- status = messaging_send(notify->messaging_ctx, e->server,
+ status = messaging_send(notify->messaging_ctx, e->server,
MSG_PVFS_NOTIFY, &data);
talloc_free(tmp_ctx);
return status;