summaryrefslogtreecommitdiff
path: root/tests/auth-test.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2012-07-06 13:09:50 -0400
committerDan Winship <danw@gnome.org>2012-07-13 14:18:36 -0400
commitd9db0727ff48f96f5312e65c8f0296f634d2c2b4 (patch)
tree6dd42c03f1e6feaaa4b2b44dfe50ca3f2f711165 /tests/auth-test.c
parent7b916078d6e1f3bc54124a9433295a8c3d825c22 (diff)
downloadlibsoup-d9db0727ff48f96f5312e65c8f0296f634d2c2b4.tar.gz
libsoup-d9db0727ff48f96f5312e65c8f0296f634d2c2b4.tar.bz2
libsoup-d9db0727ff48f96f5312e65c8f0296f634d2c2b4.zip
Clean up includes
Especially, include soup.h rather than individually including a bunch of other public soup-*.h files. Remove unnecessary system includes (many are leftovers from code that has moved down into glib).
Diffstat (limited to 'tests/auth-test.c')
-rw-r--r--tests/auth-test.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/tests/auth-test.c b/tests/auth-test.c
index 3bbee878..85c4d414 100644
--- a/tests/auth-test.c
+++ b/tests/auth-test.c
@@ -1,16 +1,4 @@
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <stdarg.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-
-#include "libsoup/soup.h"
-#include "libsoup/soup-auth.h"
-#include "libsoup/soup-session.h"
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#include "test-utils.h"
@@ -1136,7 +1124,7 @@ do_batch_tests (const gchar *base_uri_str, gint ntests)
msg = soup_message_new_from_uri (SOUP_METHOD_GET, soup_uri);
soup_uri_free (soup_uri);
if (!msg) {
- fprintf (stderr, "auth-test: Could not parse URI\n");
+ g_printerr ("auth-test: Could not parse URI\n");
exit (1);
}