Changeset e02569673275625cb966ff5525a18d1aee4fb6ee

Show
Ignore:
Timestamp:
23/01/08 18:44:27 (9 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1201110267 +0000
git-parent:

[a3378e812c8e417a34e7cb8521a82b314a45de5c]

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

avoid mere whitespaces when hostname is not specified

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/network/udp.c

    re70a1a4 re025696  
    624624    hints.ai_socktype = SOCK_DGRAM; 
    625625 
    626     msg_Dbg( p_this, "net: connecting to %s port %d", psz_host, i_port ); 
     626    msg_Dbg( p_this, "net: connecting to [%s]:%d", psz_host, i_port ); 
    627627 
    628628    i_val = vlc_getaddrinfo( p_this, psz_host, i_port, &hints, &res ); 
    629629    if( i_val ) 
    630630    { 
    631         msg_Err( p_this, "cannot resolve %s port %d : %s", psz_host, i_port, 
     631        msg_Err( p_this, "cannot resolve [%s]:%d : %s", psz_host, i_port, 
    632632                 vlc_gai_strerror( i_val ) ); 
    633633        return -1;