diff options
author | Jose <jose@zeroc.com> | 2009-11-03 18:25:23 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-11-03 18:25:23 +0100 |
commit | 41f9c7fe8451f6c61d4f937e18a02b48fcabfc1b (patch) | |
tree | 7a1f3682a035912d5f4723fd33186fabb5d7feb1 /cpp | |
parent | 3986 - getConnectionId should not throw for FixedReference. (diff) | |
download | ice-41f9c7fe8451f6c61d4f937e18a02b48fcabfc1b.tar.bz2 ice-41f9c7fe8451f6c61d4f937e18a02b48fcabfc1b.tar.xz ice-41f9c7fe8451f6c61d4f937e18a02b48fcabfc1b.zip |
Minor fix IceSSL/Instance.cpp don't compile with VC60.
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/IceSSL/Instance.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceSSL/Instance.cpp b/cpp/src/IceSSL/Instance.cpp index 1f0897a0a9d..de78f1115a9 100644 --- a/cpp/src/IceSSL/Instance.cpp +++ b/cpp/src/IceSSL/Instance.cpp @@ -123,9 +123,9 @@ IceSSL_opensslPasswordCallback(char* buf, int size, int flag, void* userData) strncpy(buf, passwd.c_str(), sz); buf[sz] = '\0'; - for(string::iterator p = passwd.begin(); p != passwd.end(); ++p) + for(string::iterator i = passwd.begin(); i != passwd.end(); ++i) { - *p = '\0'; + *i = '\0'; } return sz; |