* src/inc.c

fix segfault caused by pop before smtp
        call to inc_account_mail with NULL
        pointer for mainwin
This commit is contained in:
Christoph Hohmann 2002-10-04 14:56:09 +00:00
parent e3c2726aa0
commit cbf47a3f7f
3 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2002-10-04 [christoph] 0.8.3claws45
* src/inc.c
fix segfault caused by pop before smtp
call to inc_account_mail with NULL
pointer for mainwin
2002-10-04 [paul] 0.8.3claws44
* configure.in

View file

@ -10,7 +10,7 @@ MINOR_VERSION=8
MICRO_VERSION=3
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_VERSION=claws44
EXTRA_VERSION=claws45
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target

View file

@ -237,7 +237,10 @@ static gint inc_account_mail(PrefsAccount *account, MainWindow *mainwin)
IncProgressDialog *inc_dialog;
IncSession *session;
gchar *text[3];
FolderItem *item = mainwin->summaryview->folder_item;
FolderItem *item;
if(mainwin && mainwin->summaryview)
item = mainwin->summaryview->folder_item;
switch (account->protocol) {
case A_IMAP4: