~ubuntu-branches/ubuntu/karmic/libflickrnet/karmic

« back to all changes in this revision

Viewing changes to debian/patches/unbreak-zooomr-support.diff

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath
  • Date: 2009-03-01 03:19:42 UTC
  • mfrom: (4.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090301031942-817ji92i6a8o7fun
Tags: 25277-8
* Add patch unbreak-zooomr-support.diff to fix f-spot crashes when
  exporting to Zooomr (Closes: #514460). Thanks to Chris Coulson
  <chrisccoulson@googlemail.com> for providing the patch.
* Bump Standards-Version to 3.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Index: libflickrnet-25277/FlickrNet/Flickr.cs
2
2
===================================================================
3
 
--- libflickrnet-25277.orig/FlickrNet/Flickr.cs 2008-10-24 19:38:04.000000000 +0100
4
 
+++ libflickrnet-25277/FlickrNet/Flickr.cs      2008-10-24 19:38:33.000000000 +0100
 
3
--- libflickrnet-25277.orig/FlickrNet/Flickr.cs 2009-02-23 22:10:07.000000000 -0500
 
4
+++ libflickrnet-25277/FlickrNet/Flickr.cs      2009-02-23 22:15:28.000000000 -0500
5
5
@@ -54,7 +54,7 @@
6
6
 
7
7
                private string[] _baseUrl = new string[] { 
43
43
                 // This is needed in the Compact Framework
44
44
                 // See for more details: http://msdn2.microsoft.com/en-us/library/1afx2b0f.aspx
45
45
-                req.GetRequestStream().Close();
46
 
+               if (req.Method=="POST")
47
 
+                       req.GetRequestStream().Close();
 
46
+               if (req.Method=="POST")
 
47
+                   req.GetRequestStream().Close();
48
48
             }
49
49
 
50
50
                        try