File: fix-Qvnsprintf.patch

package info (click to toggle)
qpopper 4.0.5-4sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,732 kB
  • ctags: 1,940
  • sloc: ansic: 21,790; makefile: 459; sh: 272; perl: 52
file content (9 lines) | stat: -rw-r--r-- 247 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
--- qpopper-4.0.4/common/snprintf.c     Fri Apr  5 10:37:55 2002
+++ qpopper-4.0.4.new/common/snprintf.c Wed Mar 12 10:11:02 2003
@@ -366,6 +366,7 @@
     
     if ( nSize ) 
         *s++ = *p;
+    *s++ = '\0';
     return ( (n-1) - nSize );
 }