• Joel Martin's avatar
    Fix listen_port check. · 1656b1b9
    Joel Martin authored
    Interestingly, the bug depends on compiler behavior. If local
    variables are automatically initialized to 0, then this always caused
    the program to error out indicating a failure to parse the listen
    port. Otherwise, the test was a no-op (except the rare case where the
    memory happened to be zero anyways).
    
    Thanks to Eugen Melnikoff for finding this.
    1656b1b9
wsproxy.c 9.74 KB