Skip to content

Commit

Permalink
修改一个bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dosgo committed May 25, 2016
1 parent 7331e7c commit cd25658
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Binary file modified bin/Release/ngrokc.exe
Binary file not shown.
7 changes: 5 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,7 @@ void* proxy( )
socklist.erase(it1++);
continue;
}
/* 置为1 */
tempinfo->isconnect = 1;


/* 为远程连接 */
if ( tempinfo->istype == 1 )
Expand All @@ -438,6 +437,8 @@ void* proxy( )
{
continue;
}
/* 置为1 */
tempinfo->isconnect = 1;
}

//本地连接
Expand All @@ -448,6 +449,8 @@ void* proxy( )
tempinfo1 = socklist[tempinfo->tosock];
tempinfo1->isconnectlocal=2;
}
/* 置为1 */
tempinfo->isconnect = 1;
}

}
Expand Down
2 changes: 1 addition & 1 deletion ngrok-c.depend
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@

1462936185 d:\c\ngrok-c\cjson.h

1463038510 source:d:\c\ngrok-c\main.cpp
1464160098 source:d:\c\ngrok-c\main.cpp
"config.h"
<string.h>
<stdio.h>
Expand Down

0 comments on commit cd25658

Please sign in to comment.