File 003-various-fixes.patch of Package proxsmtp

--- proxsmtp-1.10.ori/common/spio.c	2011-09-16 17:51:27.000000000 +0200
+++ proxsmtp-1.10/common/spio.c	2013-03-23 21:11:47.362206347 +0100
@@ -498,7 +498,7 @@
             io->_ln = 0;
 
             /* Null terminate */
-            io->line[SP_LINE_LENGTH] = 0;
+            io->line[SP_LINE_LENGTH-1] = 0;
 
             /* A double check on the return value */
             return count;