Changeset ae2b7693af07621c2b3d7cf22c9acb242cb224d8

Show
Ignore:
Timestamp:
05/06/08 13:00:14 (4 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1212663614 +0200
git-parent:

[2f05de0d7e3ca03806b2306deb9d256a6e789a0d]

git-author:
Rafaël Carré <funman@videolan.org> 1212663614 +0200
Message:

Use a libhal property only if it exists

Regression introduced in [c75dafab5775afe24fc5f2bd944199bb361d6269]
Bug spotted by Fabio Ritrovato

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/services_discovery/hal.c

    rc75dafa rae2b769  
    271271    services_discovery_sys_t    *p_sys  = p_sd->p_sys; 
    272272 
    273     if( libhal_device_property_exists( p_sys->p_ctx, psz_device, 
     273    if( !libhal_device_property_exists( p_sys->p_ctx, psz_device, 
    274274                                       "volume.disc.type", NULL ) ) 
    275275        return;