summaryrefslogtreecommitdiff
path: root/testsuite/smbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-03-10 16:45:45 +1100
committerAndrew Tridgell <tridge@samba.org>2009-03-10 16:45:45 +1100
commit6f1f9f6d8d3d25ab6ed5467b81f1eed70e962d27 (patch)
tree245268daad2c7b69736127e3ab2f11865803391b /testsuite/smbd
parenta67bc41d6bc25974e6aa6d864d5265d07c890413 (diff)
downloadsamba-6f1f9f6d8d3d25ab6ed5467b81f1eed70e962d27.tar.gz
samba-6f1f9f6d8d3d25ab6ed5467b81f1eed70e962d27.tar.bz2
samba-6f1f9f6d8d3d25ab6ed5467b81f1eed70e962d27.zip
fixed a bug in message handling for code the change notify code
The change notify code registered a separate message handler for each tree connect. This registration uses the global messaging context. The messaging code would consider a 2nd registration for the same messaging type as being an 'update' of the handler, rather than a new handler. It also would only call the first handler in the linked list for a given message type when dispatching messages. This patch changes the messaging code to allow for multiple registrations of the same message type, and allow for multiple calls to different messaging handler for one incoming message. This fixes the problem with the test_notify_tcon() test that I recently committed to the S4 smbtorture
Diffstat (limited to 'testsuite/smbd')
0 files changed, 0 insertions, 0 deletions