[vlc-commits] luarc: terminate logout line with a pretty new line

Pierre Ynard git at videolan.org
Sat Mar 12 18:17:26 CET 2011


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sat Mar 12 18:16:33 2011 +0100| [75d96e7bfd12873a7d84703a18a837b45accb7d7] | committer: Pierre Ynard

luarc: terminate logout line with a pretty new line

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

 share/lua/intf/rc.lua |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/lua/intf/rc.lua b/share/lua/intf/rc.lua
index f4c0acf..5a74eb1 100644
--- a/share/lua/intf/rc.lua
+++ b/share/lua/intf/rc.lua
@@ -137,7 +137,7 @@ end
 
 function logout(name,client)
     if client.type == host.client_type.net then
-        client:send("Bye-bye!")
+        client:send("Bye-bye!\r\n")
         client:del()
     else
         client:append("Error: Can't logout of stdin/stdout. Use quit or shutdown to close VLC.")



More information about the vlc-commits mailing list