/[mailutils]/mailutils/examples/url-parse.c
ViewVC logotype

Diff of /mailutils/examples/url-parse.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by polak, Sun Dec 29 12:52:06 2002 UTC revision 1.7 by gray, Wed Jan 22 21:44:14 2003 UTC
# Line 39  main () Line 39  main ()
39        if ((rc = url_create (&u, str)) != 0)        if ((rc = url_create (&u, str)) != 0)
40          {          {
41            fprintf (stderr, "url_create %s ERROR: [%d] %s",            fprintf (stderr, "url_create %s ERROR: [%d] %s",
42                     str, rc, mu_errstring (rc));                     str, rc, mu_strerror (rc));
43            exit (1);            exit (1);
44          }          }
45        if ((rc = url_parse (u)) != 0)        if ((rc = url_parse (u)) != 0)
46          {          {
47            printf ("%s => FAILED: [%d] %s\n",            printf ("%s => FAILED: [%d] %s\n",
48                    str, rc, mu_errstring (rc));                    str, rc, mu_strerror (rc));
49            continue;            continue;
50          }          }
51        printf ("%s => SUCCESS\n", str);        printf ("%s => SUCCESS\n", str);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26