summaryrefslogtreecommitdiff
path: root/src/sockutil.c
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-11-28 23:02:07 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-11-28 23:02:07 +0000
commita08b3ec5924c946308ac086cd3ee7d701610d3be (patch)
tree84da442a85ffeccd6425cc7c85db9eda6e881753 /src/sockutil.c
parentf6b823ade85160f94544d1ad1de4d8fbc42b2712 (diff)
Massive move of all of the Config variables out of global scope to the Config class
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2674 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/sockutil.c')
-rw-r--r--src/sockutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sockutil.c b/src/sockutil.c
index 6690c4f53..39e397dc1 100644
--- a/src/sockutil.c
+++ b/src/sockutil.c
@@ -421,7 +421,7 @@ char *sgets(char *buf, int len, ano_socket_t s)
return NULL;
FD_ZERO(&fds);
FD_SET(s, &fds);
- tv.tv_sec = ReadTimeout;
+ tv.tv_sec = Config.ReadTimeout;
tv.tv_usec = 0;
while (read_buffer_len() == 0 &&
(c = select(s + 1, &fds, NULL, NULL, &tv)) < 0) {
@@ -547,8 +547,8 @@ static char *pack_ip(const char *ipaddr)
* given (lhost==NULL, lport==0), then they are left free to vary.
* @param host Remote Host
* @param port Remote Port
- * @param lhost LocalHost
- * @param lport LocalPort
+ * @param lhost Config.LocalHost
+ * @param lport Config.LocalPort
* @return int if successful
*/
int conn(const char *host, int port, const char *lhost, int lport)