Changeset 2bbcd7df7d1cd88f167705d0b4ac67768706ac04

Show
Ignore:
Timestamp:
03/10/07 19:00:10 (1 year ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1191430810 +0000
git-parent:

[e72a0130c0558aa4fcda69cd1e550f3e13c283f8]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1191430810 +0000
Message:

Remove survivor strerror (malloc always return ENOMEM when it fails anyway)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/misc/messages.c

    r357771f r2bbcd7d  
    368368    if( psz_str == NULL ) 
    369369    { 
    370         fprintf( stderr, "main warning: can't store message (%s): ", 
    371                  strerror(errno) ); 
     370        fputs( "main warning: no memory to store message): ", stderr ); 
    372371        vlc_va_copy( args, _args ); 
    373372        /* We should use utf8_vfprintf - but it calls malloc()... */