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:
Daniel Stenberg
2008-10-23 11:49:19 +00:00
parent 198fa5e3c7
commit b701ea36a7
23 changed files with 192 additions and 127 deletions

View File

@@ -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);