-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: urcd
action: commit
revision:
path_from:
revision_from: 7b0861f06ccd9328e4319b9f99855cfb68570716:
path_to:
revision_to:

git.thebackupbox.net

urcd

git://git.thebackupbox.net/urcd

commit 7b0861f06ccd9328e4319b9f99855cfb68570716
Author: root <root@d3v11.ano>
Date:   Wed Mar 6 00:26:05 2013 +0000

    line protocols suck

diff --git a/src/urcrecv.pyx b/src/urcrecv.pyx

index 1b11105c00d0aa9af98a7f7a287ad7bfb1f95ed0..

index ..9a5f57246ed96bb583771964a2ff246024762af8 100644

--- a/src/urcrecv.pyx
+++ b/src/urcrecv.pyx
@@ -24,7 +24,7 @@ while 1:

   # line protocols suck
   if '\n' in afternl:
-    buffer = afternl.split('\n',1) + '\n'
+    buffer = afternl.split('\n',1)[0] + '\n'
     afternl = afternl[len(buffer):]
   else:
     nl = 0

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 15:12:47 2024