# HG changeset patch # User Matti Hamalainen # Date 1337834077 -10800 # Node ID 8ca09a6cca0967ea3f3c6af4ced96d11a2a1ca06 # Parent ccee77fe4525d13938f46ad3034031049f6d2125 Minor cleanup. diff -r ccee77fe4525 -r 8ca09a6cca09 main.c --- a/main.c Thu May 24 07:27:28 2012 +0300 +++ b/main.c Thu May 24 07:34:37 2012 +0300 @@ -687,16 +687,11 @@ nn_window_t *win; h = nn_decode_str2(t + 1); - if (!strncmp(t, "BPRV from ", 10)) - { + // Check type of + if ((isMine = strncmp(t, "BPRV from ", 10)) == 0) in_name = nn_decode_str2(t + 10); - isMine = FALSE; - } else - { in_name = nn_decode_str2(t + 8); - isMine = TRUE; - } for (tmp = in_name; *tmp && *tmp != ':'; tmp++); if (tmp[0] != 0 && tmp[1] == ' ')