[vlc-commits] access/sftp: fix diagnostic if host is missing

Filip Roséen git at videolan.org
Fri Jul 22 11:09:18 CEST 2016


vlc | branch: master | Filip Roséen <filip at atch.se> | Fri Jul 22 03:02:55 2016 +0200| [69396228601bf8f5d2eef1121de5f98d7eeed310] | committer: Jean-Baptiste Kempf

access/sftp: fix diagnostic if host is missing

The previous diagnostic certainly implies something which it was
probably not intended to say.

This fixes the diagnostic to be more helpful.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=69396228601bf8f5d2eef1121de5f98d7eeed310
---

 modules/access/sftp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/sftp.c b/modules/access/sftp.c
index 64fda33..d6cea71 100644
--- a/modules/access/sftp.c
+++ b/modules/access/sftp.c
@@ -162,7 +162,7 @@ static int Open( vlc_object_t* p_this )
     /* Check for some parameters */
     if( EMPTY_STR( url.psz_host ) )
     {
-        msg_Err( p_access, "You might give a non empty host" );
+        msg_Err( p_access, "Unable to extract host from %s", p_access->psz_url );
         goto error;
     }
 



More information about the vlc-commits mailing list