Revision 6b0de454 trunk/Pithos.Core/Agents/NetworkAgent.cs

b/trunk/Pithos.Core/Agents/NetworkAgent.cs
864 864
                        catch (WebException exc)
865 865
                        {
866 866
                            var response=(exc.Response as HttpWebResponse);
867
                            if (response == null)
868
                                throw;
867 869
                            if (response.StatusCode == HttpStatusCode.Forbidden)
868 870
                            {
869 871
                                StatusKeeper.SetFileState(fileInfo.FullName,FileStatus.Forbidden, FileOverlayStatus.Conflict);                                

Also available in: Unified diff