* mu-msg-contact: check for type of internetaddress (fixes some warning) +

small cleanups
This commit is contained in:
Dirk-Jan C. Binnema
2010-09-12 21:00:45 +03:00
parent 5d8499b80e
commit 2fef78abc1
2 changed files with 12 additions and 9 deletions

View File

@ -35,11 +35,11 @@ typedef enum _MuMsgContactType MuMsgContactType;
struct _MuMsgContact {
char *name; /* Foo Bar */
char *address; /* foo@bar.cuux */
MuMsgContactType type; /*MU_MSG_CONTACT_TYPE_{TO,CC,BCC,FROM}*/
const char *name; /* Foo Bar */
const char *address; /* foo@bar.cuux */
MuMsgContactType type; /*MU_MSG_CONTACT_TYPE_{TO,CC,BCC,FROM}*/
};
typedef struct _MuMsgContact MuMsgContact;
typedef struct _MuMsgContact MuMsgContact;
/**
* macro to get the name of a contact