Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / libtest / lib543.c
blob1125511a21ef0dae8a07baffbcd849d67d43e98e
1 /*****************************************************************************
2 * _ _ ____ _
3 * Project ___| | | | _ \| |
4 * / __| | | | |_) | |
5 * | (__| |_| | _ <| |___
6 * \___|\___/|_| \_\_____|
8 * $Id: lib543.c,v 1.1.1.1 2008-09-23 16:32:06 hoffman Exp $
10 * Based on Alex Fishman's bug report on September 30, 2007
13 #include "setup.h"
14 #include "test.h"
16 int test(char *URL)
18 unsigned char a[] = {0x9c, 0x26, 0x4b, 0x3d, 0x49, 0x4, 0xa1, 0x1,
19 0xe0, 0xd8, 0x7c, 0x20, 0xb7, 0xef, 0x53, 0x29, 0xfa,
20 0x1d, 0x57, 0xe1};
22 CURL* easy = curl_easy_init();
23 char* s = curl_easy_escape(easy, (char*)a, sizeof(a));
24 (void)URL;
26 printf("%s\n", s);
28 curl_free(s);
29 curl_easy_cleanup(easy);
31 return 0;