aboutsummaryrefslogtreecommitdiffstats
path: root/lib/url.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-02 15:28:23 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-02 15:28:23 +0200
commitdd345753c1742905c9f81aa71d8b09109fbc5456 (patch)
tree8689e25f6465c17c3dd5913af6ae289bf13768d4 /lib/url.h
parent0db75ad966458610427dacdd31ecbaddbca18935 (diff)
parentfa75134008bd9206ca02380927c27581feb65c3e (diff)
merge trunk.
Diffstat (limited to 'lib/url.h')
-rw-r--r--lib/url.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/url.h b/lib/url.h
index e9e1ecfe..8c038c91 100644
--- a/lib/url.h
+++ b/lib/url.h
@@ -25,20 +25,20 @@
#include "bitlbee.h"
-#define PROTO_HTTP 2
-#define PROTO_HTTPS 5
-#define PROTO_SOCKS4 3
-#define PROTO_SOCKS5 4
-#define PROTO_DEFAULT PROTO_HTTP
+#define PROTO_HTTP 2
+#define PROTO_HTTPS 5
+#define PROTO_SOCKS4 3
+#define PROTO_SOCKS5 4
+#define PROTO_DEFAULT PROTO_HTTP
typedef struct url
{
int proto;
int port;
- char host[MAX_STRING];
- char file[MAX_STRING];
- char user[MAX_STRING];
- char pass[MAX_STRING];
+ char host[MAX_STRING+1];
+ char file[MAX_STRING+1];
+ char user[MAX_STRING+1];
+ char pass[MAX_STRING+1];
} url_t;
int url_set( url_t *url, char *set_url );