OSSP CVS Repository

ossp - Difference in ossp-pkg/lmtp2nntp/lmtp2nntp_msg.c versions 1.15 and 1.16
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/lmtp2nntp/lmtp2nntp_msg.c 1.15 -> 1.16

--- lmtp2nntp_msg.c      2002/05/27 15:09:50     1.15
+++ lmtp2nntp_msg.c      2002/05/27 15:37:21     1.16
@@ -673,7 +673,7 @@
             *pnOut     = strlen(*cppOut);
         }
         else {
-            *cppOut    = (char *)mallocex(0);
+            *cppOut    = "";
             *pnOutsize = 0;
             *pnOut     = 0;
         }
@@ -765,8 +765,8 @@
     int i;
 
     if (val_ptr == NULL) {
-        *out_ptr = ""; //FIXME will lib_val try to free() this?
-        *out_len = 0;
+        *out_ptr  = "";
+        *out_len  = 0;
         *out_size = 0;
         return VAR_OK;
     }

CVSTrac 2.0.1