Index: ossp-pkg/l2/l2_epreuve.c RCS File: /v/ossp/cvs/ossp-pkg/l2/Attic/l2_epreuve.c,v rcsdiff -q -kk '-r1.3' '-r1.4' -u '/v/ossp/cvs/ossp-pkg/l2/Attic/l2_epreuve.c,v' 2>/dev/null --- 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)