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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user