mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:35:47 +00:00
Remove warnings
svn path=/trunk/; revision=17610
This commit is contained in:
parent
45c69b6adb
commit
72784f6c8f
2 changed files with 3 additions and 5 deletions
|
@ -403,8 +403,8 @@ private:
|
|||
|
||||
string full_input;
|
||||
string remaining_output;
|
||||
RHState state;
|
||||
SOCKET socket;
|
||||
RHState state;
|
||||
};
|
||||
|
||||
SOCKET make_listening_socket( int port ) {
|
||||
|
@ -440,7 +440,7 @@ int main( int argc, char **argv ) {
|
|||
SOCKET listen_socket;
|
||||
int i;
|
||||
int port_to_listen = 80;
|
||||
int active_fds = 0;
|
||||
unsigned int active_fds = 0;
|
||||
|
||||
for( i = 1; i < argc; i++ ) {
|
||||
if( string( "-p" ) == argv[i] ) {
|
||||
|
@ -480,8 +480,6 @@ int main( int argc, char **argv ) {
|
|||
|
||||
FD_SET(listen_socket,&pollin);
|
||||
|
||||
struct timeval tv;
|
||||
|
||||
active_fds = select( active_fds, &pollin, &pollout, &pollerr, NULL );
|
||||
|
||||
if( active_fds > 0 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue