aboutsummaryrefslogtreecommitdiff
path: root/tests/server/sockfilt.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-02-22 18:56:29 +0000
committerYang Tse <yangsita@gmail.com>2010-02-22 18:56:29 +0000
commit439f62bfa8fff1b6370c286f4e06775aa81661bc (patch)
tree2b63d28f849d4b9dce83325af286b6b4010c40e0 /tests/server/sockfilt.c
parent693abbae3a20eaadc36759b89722fd2d38b95004 (diff)
convert Curl_ultous() and Curl_ultouc() functions to curlx_ultous() and
curlx_ultouc(), exposing them through curlx.h to allow proper code reuse later in our test harness.
Diffstat (limited to 'tests/server/sockfilt.c')
-rw-r--r--tests/server/sockfilt.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c
index 50e91f41d..63c0c663c 100644
--- a/tests/server/sockfilt.c
+++ b/tests/server/sockfilt.c
@@ -110,7 +110,6 @@
#include "getpart.h"
#include "inet_pton.h"
#include "util.h"
-#include "warnless.h"
/* include memdebug.h last */
#include "memdebug.h"
@@ -899,7 +898,7 @@ int main(int argc, char *argv[])
argv[arg]);
return 0;
}
- port = Curl_ultous(ulnum);
+ port = curlx_ultous(ulnum);
arg++;
}
}
@@ -916,7 +915,7 @@ int main(int argc, char *argv[])
argv[arg]);
return 0;
}
- connectport = Curl_ultous(ulnum);
+ connectport = curlx_ultous(ulnum);
arg++;
}
}