diff options
author | Jfreegman <Jfreegman@gmail.com> | 2013-08-08 04:55:22 -0400 |
---|---|---|
committer | Jfreegman <Jfreegman@gmail.com> | 2013-08-08 04:55:22 -0400 |
commit | 0f2b4e5c7790f5f35a7ddefc532551c928bd3f2f (patch) | |
tree | ed2feb7d62d63b45884f055fa5a903aba5501031 | |
parent | 6f98fc47b02d70c2e2eb50d4bdc942286950cda5 (diff) |
oops
-rw-r--r-- | testing/toxic/prompt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/toxic/prompt.c b/testing/toxic/prompt.c index 08874a9a..b50792fe 100644 --- a/testing/toxic/prompt.c +++ b/testing/toxic/prompt.c | |||
@@ -109,7 +109,7 @@ static void execute(ToxWindow *self, char *u_cmd) | |||
109 | } | 109 | } |
110 | 110 | ||
111 | dht.port = htons(atoi(port)); | 111 | dht.port = htons(atoi(port)); |
112 | uintKEY_SIZE_BYTES_t resolved_address = resolve_addr(ip); | 112 | uint32_t resolved_address = resolve_addr(ip); |
113 | if (resolved_address == 0) { | 113 | if (resolved_address == 0) { |
114 | return; | 114 | return; |
115 | } | 115 | } |
@@ -123,7 +123,7 @@ static void execute(ToxWindow *self, char *u_cmd) | |||
123 | else if (!strncmp(cmd, "add ", strlen("add "))) { | 123 | else if (!strncmp(cmd, "add ", strlen("add "))) { |
124 | uint8_t id_bin[KEY_SIZE_BYTES]; | 124 | uint8_t id_bin[KEY_SIZE_BYTES]; |
125 | char xx[3]; | 125 | char xx[3]; |
126 | uintKEY_SIZE_BYTES_t x; | 126 | uint32_t x; |
127 | char *id = strchr(cmd, ' '); | 127 | char *id = strchr(cmd, ' '); |
128 | if (id == NULL) { | 128 | if (id == NULL) { |
129 | wprintw(self->window, "Invalid syntax.\n"); | 129 | wprintw(self->window, "Invalid syntax.\n"); |