aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libtest/lib557.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib557.c')
-rw-r--r--tests/libtest/lib557.c22
1 files changed, 16 insertions, 6 deletions
diff --git a/tests/libtest/lib557.c b/tests/libtest/lib557.c
index 48ccaf38..b8828521 100644
--- a/tests/libtest/lib557.c
+++ b/tests/libtest/lib557.c
@@ -1,11 +1,24 @@
-/*****************************************************************************
+/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- */
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ *
+ * This software is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
/*
* The purpose of this test is to minimally exercise libcurl's internal
@@ -13,9 +26,6 @@
*/
#include "test.h"
-
-#include <curl/mprintf.h>
-
#include "memdebug.h"
@@ -1341,7 +1351,7 @@ static int test_curl_off_t_formatting(void)
co_test[i].result[j] = 'X';
co_test[i].result[BUFSZ-1] = '\0';
- (void)curl_msprintf(co_test[i].result, "%" FORMAT_OFF_T, co_test[i].num);
+ (void)curl_msprintf(co_test[i].result, "%" CURL_FORMAT_CURL_OFF_T, co_test[i].num);
if(memcmp(co_test[i].result,
co_test[i].expected,