aboutsummaryrefslogtreecommitdiff
path: root/include/smap
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-06-09 15:43:59 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-06-09 15:43:59 +0300
commita312dfe652e26b7c283241a1d268cf888ab9bec1 (patch)
tree3039c573e7f9656a37de9b3245b3aa44660f56b1 /include/smap
parent9cffcc7e9da8d6190725ff941e4f291a82a2903b (diff)
downloadsmap-a312dfe652e26b7c283241a1d268cf888ab9bec1.tar.gz
smap-a312dfe652e26b7c283241a1d268cf888ab9bec1.tar.bz2
Bugfixes.
* include/smap/url.h (SMAP_URLE_INVALID): New constant. * lib/url.c (url_error_string): Add new string for SMAP_URLE_INVALID. (split_connection): Return SMAP_URLE_INVALID on invalid URLs. (smap_url_parse): Initialize proto, port and path to NULL. * modules/mailutils/mailutils.c (checksize): Set res->auth. (mod_mailutils_init): New options config-verbose and config-verbose. Set mu_cfg_parser_verbose depending on the flags. Collect gocs capabilities and call mu_libcfg_init. * src/Makefile.am (INCLUDES): Add @LTDLINCL@. * src/smapc.c (read_eval_loop): Handle comments. * src/smapd.c (cfg_max_children, cfg_global_max_children): Bugfix. (smap_kwtab): New keyword: trace. * src/srvman.c: Use tcpwrappers only for AF_INET family.
Diffstat (limited to 'include/smap')
-rw-r--r--include/smap/url.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/include/smap/url.h b/include/smap/url.h
index f336f9c..8fda1c0 100644
--- a/include/smap/url.h
+++ b/include/smap/url.h
@@ -15,15 +15,16 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define SMAP_URLE_NOMEM 1
-#define SMAP_URLE_PORT 2
-#define SMAP_URLE_NAME2LONG 3
-#define SMAP_URLE_NOABS 4
-#define SMAP_URLE_NOPORT 5
-#define SMAP_URLE_BADPORT 6
-#define SMAP_URLE_UNKPORT 7
-#define SMAP_URLE_UNKHOST 8
-#define SMAP_URLE_BADFAMILY 9
-#define SMAP_URLE_BADPROTO 10
+#define SMAP_URLE_INVALID 2
+#define SMAP_URLE_PORT 3
+#define SMAP_URLE_NAME2LONG 4
+#define SMAP_URLE_NOABS 5
+#define SMAP_URLE_NOPORT 6
+#define SMAP_URLE_BADPORT 7
+#define SMAP_URLE_UNKPORT 8
+#define SMAP_URLE_UNKHOST 9
+#define SMAP_URLE_BADFAMILY 10
+#define SMAP_URLE_BADPROTO 11
int smap_url_parse(const char *cstr, struct sockaddr **psa, socklen_t *plen);
const char *smap_url_strerror(int er);

Return to:

Send suggestions and report system problems to the System administrator.