[vlc-devel] [PATCH 2/3] access/sftp: fix diagnostic if host is missing

Filip Roséen filip at atch.se
Fri Jul 22 03:02:55 CEST 2016


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

This patch fixes the diagnostic to be more helpful.
---
 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;
     }
 
-- 
2.9.0



More information about the vlc-devel mailing list