1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-07-31 00:03:08 +03:00

example: silence MSVS 2013 C4127 warnings (#828)

This commit is contained in:
Viktor Szakats
2023-03-09 10:46:40 +01:00
committed by GitHub
parent 33b6d5f89d
commit 99c1333ba7
11 changed files with 30 additions and 7 deletions

View File

@ -150,7 +150,7 @@ int main(int argc, char *argv[])
rc = 1;
goto shutdown;
}
while(1) {
for(;;) {
rc = libssh2_agent_get_identity(agent, &identity, prev_identity);
if(rc == 1)
break;