Fix bug in the server where a wait request was incorrectly handled.
Change the assert macro on Windows to make it easier to debug. Review URL: http://webrtc-codereview.appspot.com/212002 git-svn-id: http://webrtc.googlecode.com/svn/trunk@718 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -96,7 +95,7 @@ int main(int argc, char** argv) {
|
||||
s->Send("500 Error", true, "text/plain", "",
|
||||
"Peer most likely gone.");
|
||||
}
|
||||
} else if (member->is_waiting_socket(s)) {
|
||||
} else if (member->is_wait_request(s)) {
|
||||
// no need to do anything.
|
||||
socket_done = false;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user