diff options
Diffstat (limited to 'net/sipxtacklib/files')
-rw-r--r-- | net/sipxtacklib/files/patch-src_net_HttpMessage.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/sipxtacklib/files/patch-src_net_HttpMessage.cpp b/net/sipxtacklib/files/patch-src_net_HttpMessage.cpp new file mode 100644 index 000000000000..a15bd05eab18 --- /dev/null +++ b/net/sipxtacklib/files/patch-src_net_HttpMessage.cpp @@ -0,0 +1,15 @@ +--- src/net/HttpMessage.cpp.orig Sat Sep 29 15:57:14 2007 ++++ src/net/HttpMessage.cpp Sat Sep 29 15:59:10 2007 +@@ -3304,10 +3304,10 @@ + decodedCookie); + #endif + // Parse out the userId and password +- int userPasswordSeparatorIndex = (int) strchr(decodedCookie, ':'); ++ uintptr_t userPasswordSeparatorIndex = (uintptr_t) strchr(decodedCookie, ':'); + if(userPasswordSeparatorIndex) + { +- userPasswordSeparatorIndex -= (int) decodedCookie; ++ userPasswordSeparatorIndex -= (uintptr_t) decodedCookie; + + userId->append(decodedCookie, userPasswordSeparatorIndex); + password->append(&decodedCookie[userPasswordSeparatorIndex + 1], |