Commit f9044071 f904407152b063f26b6019941701802e7c2cd971 by Sam Roberts

Return ENOENT if the url type wasn't registered, like the other factory

creation functions.
1 parent 098c5436
...@@ -101,6 +101,8 @@ mailer_create (mailer_t *pmailer, const char *name) ...@@ -101,6 +101,8 @@ mailer_create (mailer_t *pmailer, const char *name)
101 else 101 else
102 *pmailer = mailer; 102 *pmailer = mailer;
103 } 103 }
104 else
105 status = ENOENT;
104 106
105 return status; 107 return status;
106 } 108 }
......