Skip to content

Commit

Permalink
Update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
rfinochi committed Sep 10, 2019
1 parent c23c896 commit 50177dc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions LibraryCore/LibraryCore.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>Small and simple library for retrieving messages from Post Office Protocol version 3 (POP3) servers.</Description>
<Copyright>Rodolfo Finochietti</Copyright>
Expand All @@ -13,6 +13,6 @@
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Net.Security" Version="4.3.0" />
<PackageReference Include="System.Net.Security" Version="4.3.2" />
</ItemGroup>
</Project>
5 changes: 4 additions & 1 deletion LibraryCore/Pop3Message.cs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,10 @@ internal void ParseRawMessage( )
{
body = String.Compare( this.ContentTransferEncoding, "base64", StringComparison.OrdinalIgnoreCase ) == 0 ? Base64EncodingHelper.Decode( body ) : body;
}
catch ( FormatException ) { }
catch ( FormatException )
{
body = RawMessage.Remove( 0, ( this.RawMessage.IndexOf( "\r\n\r\n", StringComparison.OrdinalIgnoreCase ) ) );
}
}

this.Body = body;
Expand Down
2 changes: 1 addition & 1 deletion TestClient/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static void Main( string[] args )
GetMessages( server, userName, password, useSsl );
GetMessagesAsync( server, userName, password, useSsl ).Wait( );

Console.WriteLine( "Press any key to close", Environment.NewLine );
Console.WriteLine( "Press any key to close {0}", Environment.NewLine );
Console.ReadLine( );
}

Expand Down
2 changes: 1 addition & 1 deletion TestClientCore/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static void Main( string[] args )

GetMessagesAsync( server, userName, password, useSsl ).Wait( );

Console.WriteLine( "Press any key to close", Environment.NewLine );
Console.WriteLine( "Press any key to close {0}", Environment.NewLine );
Console.ReadLine( );
}

Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Build status](https://img.shields.io/appveyor/ci/rfinochi/pop3dotnet.svg?style=plastic)](https://ci.appveyor.com/project/rfinochi/pop3dotnet)
[![Coverage Status](https://img.shields.io/coveralls/github/rfinochi/pop3dotnet?style=plastic)](https://coveralls.io/github/rfinochi/pop3dotnet)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/rfinochi/pop3dotnet.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/rfinochi/pop3dotnet/alerts/)
[![GitHub issues](https://img.shields.io/github/issues/rfinochi/pop3dotnet?style=plastic)](https://github.com/rfinochi/pop3dotnet/issues)
[![Latest version](https://img.shields.io/nuget/v/Pop3.svg?style=plastic)](https://www.nuget.org/packages/Pop3)
[![Downloads](https://img.shields.io/nuget/dt/Pop3.svg?style=plastic)](https://www.nuget.org/packages/Pop3)
Expand Down

0 comments on commit 50177dc

Please sign in to comment.