OSSP CVS Repository

ossp - Check-in [764]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 764
Date: 2001-Aug-24 17:15:47 (local)
2001-Aug-24 15:15:47 (UTC)
User:ms
Branch:
Comment: Some output format changes.
Tickets:
Inspections:
Files:
ossp-pkg/l2/l2_epreuve.c      1.3 -> 1.4     2 inserted, 2 deleted

ossp-pkg/l2/l2_epreuve.c 1.3 -> 1.4

--- l2_epreuve.c 2001/08/23 05:32:45     1.3
+++ l2_epreuve.c 2001/08/24 15:15:47     1.4
@@ -82,10 +82,9 @@
         return 1;
 
     /* Need to add extra bytes to string length to allow for the text we add */
-    iMsgSize = strlen(pszArgs[L2_MESSAGEARG]) + strlen(L2_VONBUFSTRING);
+    iMsgSize = strlen(pszArgs[L2_MESSAGEARG]);
     pszMsgIn = malloc(iMsgSize);
     strcpy(pszMsgIn, pszArgs[L2_MESSAGEARG]);
-    strcat(pszMsgIn, L2_VONBUFSTRING);
     iRet = l2_channel_write(pMyBChannel, pszMsgIn, iMsgSize);
     if (iRet != L2_OK)
         return 1;
@@ -96,6 +95,7 @@
     fprintf(stderr, "0x%X octets Speichersize.\n",\
         (int)(*((char **)pMyBChannel->context.vp + 2)));
     fprintf(stderr, *(char **)pMyBChannel->context.vp);
+    fprintf(stderr, " von de Buffer\n");
 
     iRet = l2_channel_flush(pMyBChannel);
     if (iRet != L2_OK)

CVSTrac 2.0.1