fixed a problem with the smb_buf() macro on some compilers