Skip to content

Commit 98286da

Browse files
authored
Merge pull request #94 from juliendehos/master
fix a wrong parameter in a string constructor
2 parents 6f5e9f3 + 212586c commit 98286da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/curl_easy_info.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ namespace curl {
5252
curl_easy_info(char *pointer) : _pointer(pointer) {}
5353
std::string get() const {
5454
if (_pointer == nullptr) {
55-
return std::string('');
55+
return std::string("");
5656
}
5757
return std::string(_pointer);
5858
}
@@ -88,4 +88,4 @@ namespace curl {
8888
};
8989
}
9090

91-
#endif /* curl_easy_info_h */
91+
#endif /* curl_easy_info_h */

0 commit comments

Comments
 (0)