r23736: Use local variable of smb_flag2 instead of using the macro every time.