smb_countattachments() now works - needed a filename buffer even though we
don't care about filenames. smb/mime_getattachment() now supports filenames with spaces in them. If we need to strip or convert to short filenames, do that in the application/script code, not in smblib.
Showing with 2 additions and 4 deletions