summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_mails.h
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 15:32:06 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 18:20:46 +0100
commit1c0172cca4f1e90679321912e20436a7f42f122d (patch)
tree77a544d2c09332ec176f42ebcf58a40d9c5d2b93 /plugins/ExternalAPI/m_mails.h
parentdff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (diff)
more nullptr
Diffstat (limited to 'plugins/ExternalAPI/m_mails.h')
-rw-r--r--plugins/ExternalAPI/m_mails.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ExternalAPI/m_mails.h b/plugins/ExternalAPI/m_mails.h
index d597769b88..e5ef0cc692 100644
--- a/plugins/ExternalAPI/m_mails.h
+++ b/plugins/ExternalAPI/m_mails.h
@@ -68,7 +68,7 @@ struct CMimeItem
char *name;
char *value;
struct CMimeItem *Next;
- CMimeItem(): name(NULL), value(NULL), Next(NULL){}
+ CMimeItem(): name(nullptr), value(nullptr), Next(nullptr){}
};
typedef struct CMailData //this is plugin-independent
@@ -82,7 +82,7 @@ typedef struct CMailData //this is plugin-independent
struct CMimeItem *Additional; //MIME items not read from server (custom, for filter plugins etc.)
char *Body; //Message body
- CMailData(): CP(-1), Size(0), TranslatedHeader(NULL), Body(NULL){}
+ CMailData(): CP(-1), Size(0), TranslatedHeader(nullptr), Body(nullptr) {}
} MAILDATA,*PMAILDATA;
typedef struct CMimeMsgQueue
@@ -146,12 +146,12 @@ typedef struct CMimeMsgQueue
//plugins can store here its own data
void *PluginData;
- CMimeMsgQueue(): ID(NULL), Number(0), Flags(0), MailData(NULL), MsgWindow(NULL), PluginData(NULL), Next(NULL){}
+ CMimeMsgQueue(): ID(nullptr), Number(0), Flags(0), MailData(nullptr), MsgWindow(nullptr), PluginData(nullptr), Next(nullptr){}
~CMimeMsgQueue() {}
struct CMimeMsgQueue *Next;
} YAMNMAIL,*HYAMNMAIL;
-#define LoadedMailData(x) (x->MailData!=NULL)
+#define LoadedMailData(x) (x->MailData!=nullptr)
//
//================================== YAMN MAIL SERVICES ==================================