Skip to content

Commit

Permalink
s3:smbd: make use of change_notify_fsp_has_changes()
Browse files Browse the repository at this point in the history
metze
  • Loading branch information
metze-samba committed Jun 6, 2012
1 parent dc962c1 commit b5b943d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source3/smbd/nttrans.c
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ static void call_nt_transact_notify_change(connection_struct *conn,
}
}

if (fsp->notify->num_changes != 0) {
if (change_notify_fsp_has_changes(fsp)) {

/*
* We've got changes pending, respond immediately
Expand Down
2 changes: 1 addition & 1 deletion source3/smbd/smb2_notify.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ static struct tevent_req *smbd_smb2_notify_send(TALLOC_CTX *mem_ctx,
}
}

if (fsp->notify->num_changes != 0) {
if (change_notify_fsp_has_changes(fsp)) {

/*
* We've got changes pending, respond immediately
Expand Down

0 comments on commit b5b943d

Please sign in to comment.