diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-12-20 11:05:07 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-12-20 11:05:07 -0500 |
commit | 4df9da5873749c85f50d49a94ae8f3ace4af57a6 (patch) | |
tree | 9ce2df5cd780b3a6a54b045ca0a45686195539a3 /.gitmodules | |
parent | df906121dd862c0f704e44f28ee079158c431c41 (diff) | |
download | libtwittercpp-4df9da5873749c85f50d49a94ae8f3ace4af57a6.tar.gz libtwittercpp-4df9da5873749c85f50d49a94ae8f3ace4af57a6.tar.bz2 libtwittercpp-4df9da5873749c85f50d49a94ae8f3ace4af57a6.zip |
Fixed unpredictable media upload failure
While uploading media worked in development, as well as on production when compiled in debug mode, it failed with memory corruption issues on production in release mode. This turned out to be because curlcpp was taking lvalue references to temporary std::string objects converted from string constants, instead of just copying the string pointer.
Diffstat (limited to '.gitmodules')
-rw-r--r-- | .gitmodules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules index 4f1abfd..9ad89e7 100644 --- a/.gitmodules +++ b/.gitmodules | |||
@@ -3,4 +3,4 @@ | |||
3 | url = https://github.com/hatkirby/liboauthcpp | 3 | url = https://github.com/hatkirby/liboauthcpp |
4 | [submodule "vendor/curlcpp"] | 4 | [submodule "vendor/curlcpp"] |
5 | path = vendor/curlcpp | 5 | path = vendor/curlcpp |
6 | url = https://github.com/JosephP91/curlcpp | 6 | url = https://github.com/hatkirby/curlcpp |