Commit 2d98c53f authored by Robert Graham's avatar Robert Graham
Browse files

Windows fixes

parent 5f648712
Loading
Loading
Loading
Loading
+2 −1
Changes for src/main.c: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -1059,10 +1059,11 @@ main_scan(struct Masscan *masscan)
     */
    if (masscan->script.name) {
        unsigned i;
		unsigned is_error;
        script = script_lookup(masscan->script.name);
        
        /* If no ports specified on command-line, grab default ports */
        unsigned is_error = 0;
        is_error = 0;
        if (rangelist_count(&masscan->ports) == 0)
            rangelist_parse_ports(&masscan->ports, script->ports, &is_error);
        
+1 −1
Changes for src/proto-tcp.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -720,7 +720,7 @@ tcpcon_send_packet(
    if (ctrl & CTRL_SMALL_WINDOW) {
        tcp_set_window(response->px, response->length, 600);
    }
    tcp_set_window(response->px, response->length, 600);
    //tcp_set_window(response->px, response->length, 600);

    /* If we have payload, then:
     * 1. remember the payload so we can resend it