summaryrefslogtreecommitdiffabout
path: root/kmicromail/libetpan/generic/pop3storage.c
Side-by-side diff
Diffstat (limited to 'kmicromail/libetpan/generic/pop3storage.c') (more/less context) (show whitespace changes)
-rw-r--r--kmicromail/libetpan/generic/pop3storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmicromail/libetpan/generic/pop3storage.c b/kmicromail/libetpan/generic/pop3storage.c
index 8e7a94e..375aeaf 100644
--- a/kmicromail/libetpan/generic/pop3storage.c
+++ b/kmicromail/libetpan/generic/pop3storage.c
@@ -68,7 +68,7 @@ int pop3_mailstorage_init(struct mailstorage * storage,
{
struct pop3_mailstorage * pop3_storage;
- pop3_storage = malloc(sizeof(struct pop3_mailstorage));
+ pop3_storage = malloc(sizeof(* pop3_storage));
if (pop3_storage == NULL)
goto err;