diff options
Diffstat (limited to 'android')
-rw-r--r-- | android/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/console.c b/android/console.c index 3a769c1..a8560f4 100644 --- a/android/console.c +++ b/android/console.c @@ -912,7 +912,7 @@ do_redir_add( ControlClient client, char* args ) return -1; } - if (!inet_strtoip("10.0.2.15", &guest_ip)) { + if (inet_strtoip("10.0.2.15", &guest_ip) < 0) { control_write( client, "KO: unexpected internal failure when resolving 10.0.2.15\r\n" ); return -1; } |