libsoup r1167 - in trunk: . libsoup tests



Author: danw
Date: Fri Sep 26 21:59:42 2008
New Revision: 1167
URL: http://svn.gnome.org/viewvc/libsoup?rev=1167&view=rev

Log:
	* libsoup/soup-auth-manager-ntlm.c
	* libsoup/soup-auth-manager.c
	* libsoup/soup-cookie-jar.c
	* libsoup/soup-dns.c
	* libsoup/soup-logger.c:
	* libsoup/soup-message-body.h:
	* libsoup/soup-message.h
	* libsoup/soup-misc.h:
	* libsoup/soup-xmlrpc.h:

	* tests/continue-test.c:
	* tests/ntlm-test.c: Fix warnings pointed out by gcc -pedantic.
	#553976, Sander Dijkhuis.


Modified:
   trunk/ChangeLog
   trunk/libsoup/soup-auth-manager-ntlm.c
   trunk/libsoup/soup-auth-manager.c
   trunk/libsoup/soup-cookie-jar.c
   trunk/libsoup/soup-dns.c
   trunk/libsoup/soup-logger.c
   trunk/libsoup/soup-message-body.h
   trunk/libsoup/soup-message.h
   trunk/libsoup/soup-misc.h
   trunk/libsoup/soup-xmlrpc.h
   trunk/tests/continue-test.c
   trunk/tests/ntlm-test.c

Modified: trunk/libsoup/soup-auth-manager-ntlm.c
==============================================================================
--- trunk/libsoup/soup-auth-manager-ntlm.c	(original)
+++ trunk/libsoup/soup-auth-manager-ntlm.c	Fri Sep 26 21:59:42 2008
@@ -35,7 +35,7 @@
 
 G_DEFINE_TYPE_WITH_CODE (SoupAuthManagerNTLM, soup_auth_manager_ntlm, SOUP_TYPE_AUTH_MANAGER,
 			 G_IMPLEMENT_INTERFACE (SOUP_TYPE_SESSION_FEATURE,
-						soup_auth_manager_ntlm_session_feature_init));
+						soup_auth_manager_ntlm_session_feature_init))
 
 enum {
 	PROP_0,

Modified: trunk/libsoup/soup-auth-manager.c
==============================================================================
--- trunk/libsoup/soup-auth-manager.c	(original)
+++ trunk/libsoup/soup-auth-manager.c	Fri Sep 26 21:59:42 2008
@@ -40,7 +40,7 @@
 
 G_DEFINE_TYPE_WITH_CODE (SoupAuthManager, soup_auth_manager, G_TYPE_OBJECT,
 			 G_IMPLEMENT_INTERFACE (SOUP_TYPE_SESSION_FEATURE,
-						soup_auth_manager_session_feature_init));
+						soup_auth_manager_session_feature_init))
 
 typedef struct {
 	SoupSession *session;

Modified: trunk/libsoup/soup-cookie-jar.c
==============================================================================
--- trunk/libsoup/soup-cookie-jar.c	(original)
+++ trunk/libsoup/soup-cookie-jar.c	Fri Sep 26 21:59:42 2008
@@ -43,7 +43,7 @@
 
 G_DEFINE_TYPE_WITH_CODE (SoupCookieJar, soup_cookie_jar, G_TYPE_OBJECT,
 			 G_IMPLEMENT_INTERFACE (SOUP_TYPE_SESSION_FEATURE,
-						soup_cookie_jar_session_feature_init));
+						soup_cookie_jar_session_feature_init))
 
 typedef struct {
 	GHashTable *domains;

Modified: trunk/libsoup/soup-dns.c
==============================================================================
--- trunk/libsoup/soup-dns.c	(original)
+++ trunk/libsoup/soup-dns.c	Fri Sep 26 21:59:42 2008
@@ -490,7 +490,7 @@
 
 	entry = soup_dns_cache_entry_lookup (name);
 	if (!entry)
-		entry = soup_dns_cache_entry_new (name); // FIXME
+		entry = soup_dns_cache_entry_new (name); /* FIXME */
 	g_free (name);
 
 	lookup = g_slice_new0 (SoupDNSLookup);

Modified: trunk/libsoup/soup-logger.c
==============================================================================
--- trunk/libsoup/soup-logger.c	(original)
+++ trunk/libsoup/soup-logger.c	Fri Sep 26 21:59:42 2008
@@ -79,7 +79,7 @@
 
 G_DEFINE_TYPE_WITH_CODE (SoupLogger, soup_logger, G_TYPE_OBJECT,
 			 G_IMPLEMENT_INTERFACE (SOUP_TYPE_SESSION_FEATURE,
-						soup_logger_session_feature_init));
+						soup_logger_session_feature_init))
 
 typedef struct {
 	/* We use a mutex so that if requests are being run in

Modified: trunk/libsoup/soup-message-body.h
==============================================================================
--- trunk/libsoup/soup-message-body.h	(original)
+++ trunk/libsoup/soup-message-body.h	Fri Sep 26 21:59:42 2008
@@ -14,7 +14,7 @@
 	SOUP_MEMORY_STATIC,
 	SOUP_MEMORY_TAKE,
 	SOUP_MEMORY_COPY,
-	SOUP_MEMORY_TEMPORARY,
+	SOUP_MEMORY_TEMPORARY
 } SoupMemoryUse;
 
 typedef struct {

Modified: trunk/libsoup/soup-message.h
==============================================================================
--- trunk/libsoup/soup-message.h	(original)
+++ trunk/libsoup/soup-message.h	Fri Sep 26 21:59:42 2008
@@ -100,10 +100,10 @@
 						   SoupURI           *uri);
 
 typedef enum {
-	SOUP_MESSAGE_NO_REDIRECT      = (1 << 1),
 #ifndef LIBSOUP_DISABLE_DEPRECATED
 	SOUP_MESSAGE_OVERWRITE_CHUNKS = (1 << 3),
 #endif
+	SOUP_MESSAGE_NO_REDIRECT      = (1 << 1)
 } SoupMessageFlags;
 
 void           soup_message_set_flags           (SoupMessage        *msg,

Modified: trunk/libsoup/soup-misc.h
==============================================================================
--- trunk/libsoup/soup-misc.h	(original)
+++ trunk/libsoup/soup-misc.h	Fri Sep 26 21:59:42 2008
@@ -44,7 +44,7 @@
 typedef enum {
 	SOUP_SSL_ERROR_HANDSHAKE_NEEDS_READ,
 	SOUP_SSL_ERROR_HANDSHAKE_NEEDS_WRITE,
-	SOUP_SSL_ERROR_CERTIFICATE,
+	SOUP_SSL_ERROR_CERTIFICATE
 } SoupSSLError;
 
 G_END_DECLS

Modified: trunk/libsoup/soup-xmlrpc.h
==============================================================================
--- trunk/libsoup/soup-xmlrpc.h	(original)
+++ trunk/libsoup/soup-xmlrpc.h	Fri Sep 26 21:59:42 2008
@@ -75,7 +75,7 @@
 	SOUP_XMLRPC_FAULT_SERVER_ERROR_INTERNAL_XML_RPC_ERROR = -32603,
 	SOUP_XMLRPC_FAULT_APPLICATION_ERROR = -32500,
 	SOUP_XMLRPC_FAULT_SYSTEM_ERROR = -32400,
-	SOUP_XMLRPC_FAULT_TRANSPORT_ERROR = -32300,
+	SOUP_XMLRPC_FAULT_TRANSPORT_ERROR = -32300
 } SoupXMLRPCFault;
 
 G_END_DECLS

Modified: trunk/tests/continue-test.c
==============================================================================
--- trunk/tests/continue-test.c	(original)
+++ trunk/tests/continue-test.c	Fri Sep 26 21:59:42 2008
@@ -47,13 +47,13 @@
 	event (msg, side, #name);		\
 }
 
-EVENT_HANDLER (got_informational);
-EVENT_HANDLER (got_headers);
-EVENT_HANDLER (got_body);
-EVENT_HANDLER (wrote_informational);
-EVENT_HANDLER (wrote_headers);
-EVENT_HANDLER (wrote_body);
-EVENT_HANDLER (finished);
+EVENT_HANDLER (got_informational)
+EVENT_HANDLER (got_headers)
+EVENT_HANDLER (got_body)
+EVENT_HANDLER (wrote_informational)
+EVENT_HANDLER (wrote_headers)
+EVENT_HANDLER (wrote_body)
+EVENT_HANDLER (finished)
 
 static void
 do_message (const char *path, gboolean long_body,

Modified: trunk/tests/ntlm-test.c
==============================================================================
--- trunk/tests/ntlm-test.c	(original)
+++ trunk/tests/ntlm-test.c	Fri Sep 26 21:59:42 2008
@@ -33,7 +33,7 @@
 	NTLM_RECEIVED_REQUEST,
 	NTLM_SENT_CHALLENGE,
 	NTLM_AUTHENTICATED_ALICE,
-	NTLM_AUTHENTICATED_BOB,
+	NTLM_AUTHENTICATED_BOB
 } NTLMServerState;
 
 #define NTLM_REQUEST_START "TlRMTVNTUAABAAAA"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]