aboutsummaryrefslogtreecommitdiffstats
path: root/lib/url.h
diff options
context:
space:
mode:
authorIndent <please@skip.me>2015-02-19 02:47:20 -0300
committerdequis <dx@dxzone.com.ar>2015-02-20 19:50:54 -0300
commit5ebff60479fc7a9f7f50ac03b124c91d4e6ebe11 (patch)
tree9fc0d50cb1f4bc9768d9f00de94eafd876bb55b0 /lib/url.h
parentaf359b4316f9d392c6b752495a1b2ed631576ed8 (diff)
Reindent everything to K&R style with tabs
Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame.
Diffstat (limited to 'lib/url.h')
-rw-r--r--lib/url.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/url.h b/lib/url.h
index d49d3365..4caf13d7 100644
--- a/lib/url.h
+++ b/lib/url.h
@@ -1,4 +1,4 @@
- /********************************************************************\
+/********************************************************************\
* BitlBee -- An IRC to other IM-networks gateway *
* *
* Copyright 2001-2004 Wilmer van der Gaast and others *
@@ -31,14 +31,13 @@
#define PROTO_SOCKS5 4
#define PROTO_DEFAULT PROTO_HTTP
-typedef struct url
-{
+typedef struct url {
int proto;
int port;
- char host[MAX_STRING+1];
- char file[MAX_STRING+1];
- char user[MAX_STRING+1];
- char pass[MAX_STRING+1];
+ 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, const char *set_url );
+int url_set(url_t *url, const char *set_url);