~ubuntu-branches/debian/sid/flickcurl/sid

« back to all changes in this revision

Viewing changes to src/photos-notes-api.c

  • Committer: Package Import Robot
  • Author(s): Kumar Appaiah
  • Date: 2014-01-12 08:20:42 UTC
  • mfrom: (1.4.2)
  • Revision ID: package-import@ubuntu.com-20140112082042-7p31zl22mw4ohbcd
Tags: 1.25-1
* New upstream release
* Standards version is now 3.9.5 (no changes needed)
* Multiarch conversion
  + Switch to dh based rules file
  + Add ${misc:Pre-Depends} and Multi-Arch: same for libflickcurl0
  + Alter install files to accommodate the multiarch path

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
  char note_w_s[10];
75
75
  char note_h_s[10];
76
76
  
77
 
  flickcurl_init_params(fc);
 
77
  flickcurl_init_params(fc, 1);
78
78
 
79
79
  if(!photo_id || !note_text)
80
80
    return NULL;
95
95
  if(flickcurl_prepare(fc, "flickr.photos.notes.add"))
96
96
    goto tidy;
97
97
 
98
 
  flickcurl_set_write(fc, 1);
99
 
  flickcurl_set_data(fc, (void*)"", 0);
100
 
 
101
98
  doc = flickcurl_invoke(fc);
102
99
  if(!doc)
103
100
    goto tidy;
140
137
  xmlDocPtr doc = NULL;
141
138
  int result = 1;
142
139
  
143
 
  flickcurl_init_params(fc);
 
140
  flickcurl_init_params(fc, 1);
144
141
 
145
142
  if(!note_id)
146
143
    return 1;
152
149
  if(flickcurl_prepare(fc, "flickr.photos.notes.delete"))
153
150
    goto tidy;
154
151
 
155
 
  flickcurl_set_write(fc, 1);
156
 
  flickcurl_set_data(fc, (void*)"", 0);
157
 
 
158
152
  doc = flickcurl_invoke(fc);
159
153
  if(!doc)
160
154
    goto tidy;
199
193
  char note_w_s[10];
200
194
  char note_h_s[10];
201
195
  
202
 
  flickcurl_init_params(fc);
 
196
  flickcurl_init_params(fc, 1);
203
197
 
204
198
  if(!note_id || !note_text)
205
199
    return 1;
220
214
  if(flickcurl_prepare(fc, "flickr.photos.notes.edit"))
221
215
    goto tidy;
222
216
 
223
 
  flickcurl_set_write(fc, 1);
224
 
  flickcurl_set_data(fc, (void*)"", 0);
225
 
 
226
217
  doc = flickcurl_invoke(fc);
227
218
  if(!doc)
228
219
    goto tidy;