git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67692e9
)
Fix bug #5908 - Samba 3.0.32 - internal change notify on share directory fails"
author
Dina Fine
<dina@exanet.com>
Tue, 18 Nov 2008 20:43:26 +0000
(12:43 -0800)
committer
Jeremy Allison
<jra@samba.org>
Tue, 18 Nov 2008 20:43:26 +0000
(12:43 -0800)
source/smbd/notify.c
patch
|
blob
|
history
diff --git
a/source/smbd/notify.c
b/source/smbd/notify.c
index 6e244663f28c26e0185f010ab0c844b6db8367b0..b017237f895dd01c834860c66788744107874b6a 100644
(file)
--- a/
source/smbd/notify.c
+++ b/
source/smbd/notify.c
@@
-349,6
+349,9
@@
void notify_fname(connection_struct *conn, uint32 action, uint32 filter,
{
char *fullpath;
+ if (path[0] == '.' && path[1] == '/') {
+ path += 2;
+ }
if (asprintf(&fullpath, "%s/%s", conn->connectpath, path) == -1) {
DEBUG(0, ("asprintf failed\n"));
return;