Commit 8ad65f75 8ad65f75903bd0cd024baab2aea20cf0fdba93bd by Sergey Poznyakoff

Bugfixes.

* libmailutils/mailbox/attribute.c (mu_attribute_is_equal): Fix comparison.
* libmailutils/mailbox/biffnotify.c: Add missing includes.
1 parent 9572dc81
......@@ -368,7 +368,7 @@ mu_attribute_is_equal (mu_attribute_t attr, mu_attribute_t attr2)
int flags2 = 0, flags = 0;
mu_attribute_get_flags (attr, &flags);
mu_attribute_get_flags (attr2, &flags2);
return flags == flags;
return flags == flags2;
}
/* Miscellaneous. */
......
......@@ -20,6 +20,8 @@
#endif
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <stdlib.h>
#include <string.h>
#include <netinet/in.h>
......