|
|
@@ -39,7 +39,7 @@
|
|
|
#include <vcc/vcc.h>
|
|
|
#include <vcc/version.h>
|
|
|
#include <vcc/pretty.h>
|
|
|
-
|
|
|
+#include <vcc/defserv.h>
|
|
|
/* we tried to use libreadline, but after using that, we feel strange
|
|
|
* because... because of what? i don't know. */
|
|
|
|
|
|
@@ -81,7 +81,7 @@ static char const *help_msg = {
|
|
|
"Default port is 46. You must keep this as same "
|
|
|
"as the port on the server. \n"
|
|
|
" [server] Address of the server. "
|
|
|
- "As default, server is 124.223.105.230. "
|
|
|
+ "As default, server is VCC_DEFSERV. "
|
|
|
};
|
|
|
|
|
|
static int usage(void) {
|
|
|
@@ -204,7 +204,7 @@ int do_handle_command(char *buf) {
|
|
|
int main(int argc, char **argv) {
|
|
|
struct pollfd fds[2];
|
|
|
struct vcc_request *req;
|
|
|
- char *buf, *msg, *ip = "124.223.105.230";
|
|
|
+ char *buf, *msg, *ip = VCC_DEFSERV;
|
|
|
char key[64], iv[64];
|
|
|
int n, size, port = VCC_PORT, got_usrname;
|
|
|
|