Commit e33bec33 authored by Andreas Schmidt's avatar Andreas Schmidt
Browse files

~= proper check for bind

parent 3d326f39
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -122,7 +122,7 @@ int main(int argc, char **argv) {
        PrrtSocket_enable_thread_pinning(s);
    }

    check(PrrtSocket_bind(s, "0.0.0.0", arguments.local_port), "bind failed");
    check(PrrtSocket_bind(s, "0.0.0.0", arguments.local_port) == EXIT_SUCCESS, "bind failed");

    //PrrtSocket_set_coding_parameters(s, 1, 1); // comment this line to re-enable coding.