Changeset e0dd77082ac995491ac201b62973e74fb7e26d52

Show
Ignore:
Timestamp:
11/09/07 20:25:24 (1 year ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1189535124 +0000
git-parent:

[f1e3dd737dbe4822d343b23011a5ee6078006f53]

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

Checks pointers before using them

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/misc/audioscrobbler.c

    r6ee1e19 re0dd770  
    693693    } 
    694694 
    695     if( !*p_sys->p_current_song->psz_a || !*p_sys->p_current_song->psz_t ) 
     695    if( !p_sys->p_current_song->psz_a || !*p_sys->p_current_song->psz_a || 
     696        !p_sys->p_current_song->psz_t || !*p_sys->p_current_song->psz_t ) 
    696697    { 
    697698        msg_Dbg( p_this, "Missing artist or title -> not submitting" );