mirror of
https://github.com/curl/curl.git
synced 2026-08-08 23:04:17 +03:00
moved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_
inclusion by the curl tool without colliding with the curl_strequal functions.
This commit is contained in:
parent
198fa5e3c7
commit
b701ea36a7
23 changed files with 192 additions and 127 deletions
|
|
@ -57,7 +57,7 @@
|
|||
#include "nssg.h" /* NSS versions */
|
||||
#include "qssl.h" /* QSOSSL versions */
|
||||
#include "sendf.h"
|
||||
#include "strequal.h"
|
||||
#include "rawstr.h"
|
||||
#include "url.h"
|
||||
#include "memory.h"
|
||||
#include "progress.h"
|
||||
|
|
@ -68,7 +68,7 @@ static bool safe_strequal(char* str1, char* str2)
|
|||
{
|
||||
if(str1 && str2)
|
||||
/* both pointers point to something then compare them */
|
||||
return (bool)(0 != strequal(str1, str2));
|
||||
return (bool)(0 != Curl_raw_equal(str1, str2));
|
||||
else
|
||||
/* if both pointers are NULL then treat them as equal */
|
||||
return (bool)(!str1 && !str2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue