OSSP CVS Repository

ossp - Difference in ossp-pkg/petidomo/librfc822/decomment.c versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/petidomo/librfc822/decomment.c 1.2 -> 1.3

--- decomment.c  2000/12/16 13:06:12     1.2
+++ decomment.c  2000/12/16 13:27:12     1.3
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/librfc822/decomment.c,v $
-   $Revision: 1.2 $
+   $Revision: 1.3 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -140,7 +140,7 @@
     assert(source != NULL);
     if (!source || *source == '\0') {
         errno = EINVAL;
-        return NULL;
+        return 0;
     }
 
     /* Allocate buffer. */
@@ -197,7 +197,7 @@
             angel_bracket_count--;
             break;
         }
-        else if (!in_quote && *s == '\\') {
+        else if (*s == '\\') {
             if (s[1] != '\0') {
                 *p++ = *s++;
             }

CVSTrac 2.0.1