Fix ImapSend crash. https://sourceforge.net/tracker/?func=detail&aid=3487916&group_id=125224&atid=701386
git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@149 7c85be65-684b-0410-a082-b2ed4fbef004
This commit is contained in:
parent
adf25d6b20
commit
2de100754e
@ -1,9 +1,9 @@
|
||||
{==============================================================================|
|
||||
| Project : Ararat Synapse | 002.005.002 |
|
||||
| Project : Ararat Synapse | 002.005.003 |
|
||||
|==============================================================================|
|
||||
| Content: IMAP4rev1 client |
|
||||
|==============================================================================|
|
||||
| Copyright (c)1999-2010, Lukas Gebauer |
|
||||
| Copyright (c)1999-2012, Lukas Gebauer |
|
||||
| All rights reserved. |
|
||||
| |
|
||||
| Redistribution and use in source and binary forms, with or without |
|
||||
@ -33,7 +33,7 @@
|
||||
| DAMAGE. |
|
||||
|==============================================================================|
|
||||
| The Initial Developer of the Original Code is Lukas Gebauer (Czech Republic).|
|
||||
| Portions created by Lukas Gebauer are Copyright (c)2001-2010. |
|
||||
| Portions created by Lukas Gebauer are Copyright (c)2001-2012. |
|
||||
| All Rights Reserved. |
|
||||
|==============================================================================|
|
||||
| Contributor(s): |
|
||||
@ -399,7 +399,7 @@ var
|
||||
begin
|
||||
Value.Clear;
|
||||
for n := 0 to FFullResult.Count - 2 do
|
||||
if FFullResult[n][Length(FFullResult[n])] = '}' then
|
||||
if (length(FFullResult[n]) > 0) and (FFullResult[n][Length(FFullResult[n])] = '}') then
|
||||
begin
|
||||
Value.Text := FFullResult[n + 1];
|
||||
Break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user