]> www.infradead.org Git - users/dwmw2/ews-sync.git/commitdiff
Bad RoutingType message needs to go to stderr
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 17 Jul 2010 09:37:28 +0000 (10:37 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 17 Jul 2010 09:37:28 +0000 (10:37 +0100)
ews2ical.c

index 44fef85749a10c79feb8a592db6d407f79ebedf5..e2a7ce8be140fbb779ee10c773d7db972217d73f 100644 (file)
@@ -170,8 +170,10 @@ int process_mailbox(xmlNode *xml_node, const char **r_name, const char **r_email
                }
        }
 
+       /* We seem to get EX routing for people who don't exist any more */
        if (type && strcmp(type, "SMTP")) {
-               printf("Unknown RoutingType '%s' ('%s' '%s')\n", type, name, email);
+               fprintf(stderr, "Unknown RoutingType '%s' ('%s' '%s')\n",
+                       type, name, email);
                return -1;
        }
        *r_name = name;