OSSP CVS Repository

ossp - Difference in ossp-pkg/l2/l2_ut_format.c versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/l2/l2_ut_format.c 1.1 -> 1.2

--- l2_ut_format.c       2001/09/04 13:52:59     1.1
+++ l2_ut_format.c       2001/09/06 14:37:53     1.2
@@ -1023,6 +1023,8 @@
                         vbuff->format(vbuff,
                                       &prefix_char, &pad_char, &s, &s_len, 
                                       num_buf, NUM_BUF_SIZE, extinfo, *fmt, &ap);
+                        if (s == NULL)
+                            return -1;
                     }
                     if (s == NULL) {
                         char_buf[0] = '%';

CVSTrac 2.0.1