Changeset e02569673275625cb966ff5525a18d1aee4fb6ee
- 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
| re70a1a4 |
re025696 |
|
| 624 | 624 | hints.ai_socktype = SOCK_DGRAM; |
|---|
| 625 | 625 | |
|---|
| 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 ); |
|---|
| 627 | 627 | |
|---|
| 628 | 628 | i_val = vlc_getaddrinfo( p_this, psz_host, i_port, &hints, &res ); |
|---|
| 629 | 629 | if( i_val ) |
|---|
| 630 | 630 | { |
|---|
| 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, |
|---|
| 632 | 632 | vlc_gai_strerror( i_val ) ); |
|---|
| 633 | 633 | return -1; |
|---|