~ubuntu-branches/ubuntu/wily/xmms2/wily

« back to all changes in this revision

Viewing changes to src/clients/lib/perl/XMMSClientResultPropDict.xs

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2008-07-04 16:23:34 UTC
  • mfrom: (1.1.5 upstream) (6.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080704162334-b3esbkcapt8wbrk4
Tags: 0.5DrLecter-2ubuntu1
* Merge from debian unstable (LP: #241098), remaining changes:
  + debian/control:
    + Update Maintainer field
    + add lpia to xmms2-plugin-alsa supported architectures
    + Added liba52-0.7.4-dev to build depends
  + debian/rules: Added patch, patch-stamp and unpatch
  + changed 01_gcc4.3.patch:
    + src/include/xmmsclient/xmmsclient++/helpers.h: Added #include <climits>
* New upstream relase fixes LP: #212566, #222341

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
        } else {
22
22
                subhash = newHV ();
23
23
 
24
 
                hv_store (hash, source, strlen (source), newRV_inc ((SV *)subhash), 0);
 
24
                if (!hv_store (hash, source, strlen (source), newRV_inc ((SV *)subhash), 0)) {
 
25
                        croak ("Failed to convert propdict to hash");
 
26
                }
25
27
        }
26
28
 
27
 
        hv_store (subhash, (const char *)key, strlen ((const char *)key), perl_xmmsclient_xmms_result_cast_value (type, value), 0);
 
29
        if (!hv_store (subhash, (const char *)key, strlen ((const char *)key), perl_xmmsclient_xmms_result_cast_value (type, value), 0)) {
 
30
                croak ("Failed to convert propdict to hash");
 
31
        }
28
32
}
29
33
 
30
34
MODULE = Audio::XMMSClient::Result::PropDict    PACKAGE = Audio::XMMSClient::Result::PropDict