r6392: - Fixes bug 2564: when smbc_opendir() was called with a file rather than