~ubuntu-branches/debian/sid/openchange/sid

« back to all changes in this revision

Viewing changes to libocpf/ocpf_api.c

  • Committer: Package Import Robot
  • Author(s): Jelmer Vernooij
  • Date: 2012-04-12 20:07:57 UTC
  • mfrom: (11 sid)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: package-import@ubuntu.com-20120412200757-k933d9trljmxj1l4
Tags: 1:1.0-4
* openchangeserver: Add dependency on openchangeproxy.
* Rebuild against newer version of Samba 4.
* Use dpkg-buildflags.
* Migrate to Git, update Vcs-Git header.
* Switch to debhelper 9.

Show diffs side-by-side

added added

removed removed

Lines of Context:
235
235
                }
236
236
                return OCPF_SUCCESS;
237
237
        case PT_MV_UNICODE:
238
 
                *value = (const void *)talloc_zero(ctx, struct WStringArray_r);
239
 
                ((struct WStringArray_r *)*value)->cValues = lpProp.MVszW.cValues;
240
 
                ((struct WStringArray_r *)*value)->lppszW = talloc_array(ctx, const char *, lpProp.MVszW.cValues);
 
238
                *value = (const void *)talloc_zero(ctx, struct StringArrayW_r);
 
239
                ((struct StringArrayW_r *)*value)->cValues = lpProp.MVszW.cValues;
 
240
                ((struct StringArrayW_r *)*value)->lppszW = talloc_array(ctx, const char *, lpProp.MVszW.cValues);
241
241
                {
242
242
                        uint32_t        i;
243
243
 
247
247
                                } else {
248
248
                                        str = (char *)lpProp.MVszW.lppszW[i];
249
249
                                }
250
 
                                ((struct WStringArray_r *)*value)->lppszW[i] = talloc_strdup(ctx, str);
 
250
                                ((struct StringArrayW_r *)*value)->lppszW[i] = talloc_strdup(ctx, str);
251
251
                                talloc_free(str);
252
252
                        }
253
253
                }