Rainer Jung wrote:

+    /* Always do memcmp including the final \0-termination character.
+     */
     switch (header[0]) {
         case 'A':
-            if (memcmp(p, "CCEPT", 5) == 0) {
+            if (memcmp(p, "CCEPT", 6) == 0) {

Right, but like said this should be a
>            if (memcmp(p, "CCEPT\0", 6) == 0) {

memcmp compares bytes.

Regards,
Mladen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to