[pulseaudio-commits] r2317 - /branches/glitch-free/src/pulsecore/ioline.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Thu May 1 12:06:15 PDT 2008


Author: lennart
Date: Thu May  1 21:06:15 2008
New Revision: 2317

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2317&root=pulseaudio&view=rev
Log:
strip CRLF line breaks from read CLI commands. This should fix the cli interface for people accessing it via telnet.

Modified:
    branches/glitch-free/src/pulsecore/ioline.c

Modified: branches/glitch-free/src/pulsecore/ioline.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/pulsecore/ioline.c?rev=2317&root=pulseaudio&r1=2316&r2=2317&view=diff
==============================================================================
--- branches/glitch-free/src/pulsecore/ioline.c (original)
+++ branches/glitch-free/src/pulsecore/ioline.c Thu May  1 21:06:15 2008
@@ -247,7 +247,7 @@
             l->rbuf_index = 0;
 
         if (l->callback)
-            l->callback(l, p, l->userdata);
+            l->callback(l, pa_strip_nl(p), l->userdata);
 
         skip = 0;
     }




More information about the pulseaudio-commits mailing list