1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

Fix bug #5908 - Samba 3.0.32 - internal change notify on share directory fails"

This commit is contained in:
Dina Fine 2008-11-18 12:45:42 -08:00 committed by Jeremy Allison
parent 69debd45e5
commit 0e62bb39de

View File

@ -339,6 +339,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;