poldek: trurlib/nbuf.c - *_printf() always add '

mis mis at pld-linux.org
Sat Aug 19 19:36:07 CEST 2006


Author: mis                          Date: Sat Aug 19 17:36:07 2006 GMT
Module: poldek                        Tag: HEAD
---- Log message:
- *_printf() always add '

---- Files affected:
poldek/trurlib:
   nbuf.c (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: poldek/trurlib/nbuf.c
diff -u poldek/trurlib/nbuf.c:1.22 poldek/trurlib/nbuf.c:1.23
--- poldek/trurlib/nbuf.c:1.22	Sun Nov  6 20:32:22 2005
+++ poldek/trurlib/nbuf.c	Sat Aug 19 19:36:02 2006
@@ -294,7 +294,8 @@
     int      n;
     
     n = n_vsnprintf(buf, sizeof(buf), fmt, args);
-    n_buf_add(nbuf, buf, n);
+    n_buf_write_ex(nbuf, buf, n, 1);
+    //n_buf_add(nbuf, buf, n);
     return n;
 }
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/poldek/trurlib/nbuf.c?r1=1.22&r2=1.23&f=u



More information about the pld-cvs-commit mailing list