gdm r5643 - in trunk: . daemon



Author: mccann
Date: Tue Jan 29 23:16:53 2008
New Revision: 5643
URL: http://svn.gnome.org/viewvc/gdm?rev=5643&view=rev

Log:
2008-01-29  William Jon McCann  <mccann jhu edu>

	* daemon/gdm-xdmcp-display-factory.c:
	(gdm_xdmcp_handle_managed_forward):
	Fix up spacing.



Modified:
   trunk/ChangeLog
   trunk/daemon/gdm-xdmcp-display-factory.c

Modified: trunk/daemon/gdm-xdmcp-display-factory.c
==============================================================================
--- trunk/daemon/gdm-xdmcp-display-factory.c	(original)
+++ trunk/daemon/gdm-xdmcp-display-factory.c	Tue Jan 29 23:16:53 2008
@@ -700,8 +700,8 @@
 
 static GdmDisplay *
 gdm_xdmcp_display_lookup_by_host (GdmXdmcpDisplayFactory *factory,
-                                  GdmAddress      *address,
-                                  int              display_num)
+                                  GdmAddress             *address,
+                                  int                     display_num)
 {
         GdmDisplay      *display;
         LookupHostData  *data;
@@ -766,7 +766,7 @@
 
 static void
 gdm_xdmcp_send_willing (GdmXdmcpDisplayFactory *factory,
-                        GdmAddress      *address)
+                        GdmAddress             *address)
 {
         ARRAY8        status;
         XdmcpHeader   header;
@@ -828,8 +828,8 @@
 
 static void
 gdm_xdmcp_send_unwilling (GdmXdmcpDisplayFactory *factory,
-                          GdmAddress      *address,
-                          int              type)
+                          GdmAddress             *address,
+                          int                     type)
 {
         ARRAY8        status;
         XdmcpHeader   header;
@@ -987,7 +987,7 @@
 #endif
 
 static void
-handle_any_query (GdmXdmcpDisplayFactory         *factory,
+handle_any_query (GdmXdmcpDisplayFactory  *factory,
                   GdmAddress              *address,
                   ARRAYofARRAY8Ptr         authentication_names,
                   int                      type)
@@ -996,7 +996,7 @@
 }
 
 static void
-handle_direct_query (GdmXdmcpDisplayFactory         *factory,
+handle_direct_query (GdmXdmcpDisplayFactory  *factory,
                      GdmAddress              *address,
                      int                      len,
                      int                      type)
@@ -1029,8 +1029,8 @@
 
 static void
 gdm_xdmcp_handle_broadcast_query (GdmXdmcpDisplayFactory *factory,
-                                  GdmAddress      *address,
-                                  int              len)
+                                  GdmAddress             *address,
+                                  int                     len)
 {
         if (gdm_xdmcp_host_allow (address)) {
                 handle_direct_query (factory, address, len, BROADCAST_QUERY);
@@ -1041,8 +1041,8 @@
 
 static void
 gdm_xdmcp_handle_query (GdmXdmcpDisplayFactory *factory,
-                        GdmAddress      *address,
-                        int              len)
+                        GdmAddress             *address,
+                        int                     len)
 {
         if (gdm_xdmcp_host_allow (address)) {
                 handle_direct_query (factory, address, len, QUERY);
@@ -1053,8 +1053,8 @@
 
 static void
 gdm_xdmcp_handle_indirect_query (GdmXdmcpDisplayFactory *factory,
-                                 GdmAddress      *address,
-                                 int              len)
+                                 GdmAddress             *address,
+                                 int                     len)
 {
         ARRAYofARRAY8       clnt_authlist;
         int                 expected_len;
@@ -1150,7 +1150,7 @@
 
 static void
 gdm_forward_query_dispose (GdmXdmcpDisplayFactory *factory,
-                           GdmForwardQuery *q)
+                           GdmForwardQuery        *q)
 {
         if (q == NULL) {
                 return;
@@ -1201,8 +1201,8 @@
 
 static GdmForwardQuery *
 gdm_forward_query_alloc (GdmXdmcpDisplayFactory *factory,
-                         GdmAddress      *mgr_address,
-                         GdmAddress      *dsp_address)
+                         GdmAddress             *mgr_address,
+                         GdmAddress             *dsp_address)
 {
         GdmForwardQuery *q;
         int              count;
@@ -1224,7 +1224,7 @@
 
 static GdmForwardQuery *
 gdm_forward_query_lookup (GdmXdmcpDisplayFactory *factory,
-                          GdmAddress      *address)
+                          GdmAddress             *address)
 {
         GSList          *li;
         GSList          *qlist;
@@ -1370,8 +1370,8 @@
 
 static void
 gdm_xdmcp_whack_queued_managed_forwards (GdmXdmcpDisplayFactory *factory,
-                                         GdmAddress      *address,
-                                         GdmAddress      *origin)
+                                         GdmAddress             *address,
+                                         GdmAddress             *origin)
 {
         GSList *li;
 
@@ -1391,8 +1391,8 @@
 
 static void
 gdm_xdmcp_handle_forward_query (GdmXdmcpDisplayFactory *factory,
-                                GdmAddress      *address,
-                                int              len)
+                                GdmAddress             *address,
+                                int                     len)
 {
         ARRAY8                   clnt_addr;
         ARRAY8                   clnt_port;
@@ -1562,8 +1562,8 @@
 
 static void
 gdm_xdmcp_send_managed_forward (GdmXdmcpDisplayFactory *factory,
-                                GdmAddress      *address,
-                                GdmAddress      *origin)
+                                GdmAddress             *address,
+                                GdmAddress             *origin)
 {
         ManagedForward *mf;
 
@@ -1586,8 +1586,8 @@
 
 static void
 gdm_xdmcp_send_got_managed_forward (GdmXdmcpDisplayFactory *factory,
-                                    GdmAddress      *address,
-                                    GdmAddress      *origin)
+                                    GdmAddress             *address,
+                                    GdmAddress             *origin)
 {
         ARRAY8      addr;
         XdmcpHeader header;
@@ -1613,8 +1613,8 @@
 }
 
 static gboolean
-count_sessions (const char      *id,
-                GdmDisplay      *display,
+count_sessions (const char             *id,
+                GdmDisplay             *display,
                 GdmXdmcpDisplayFactory *factory)
 {
         if (GDM_IS_XDMCP_DISPLAY (display)) {
@@ -1647,8 +1647,8 @@
 }
 
 static gboolean
-purge_displays (const char      *id,
-                GdmDisplay      *display,
+purge_displays (const char             *id,
+                GdmDisplay             *display,
                 GdmXdmcpDisplayFactory *factory)
 {
         if (GDM_IS_XDMCP_DISPLAY (display)) {
@@ -1717,8 +1717,8 @@
 
 static void
 display_dispose_check (GdmXdmcpDisplayFactory *factory,
-                       const char      *hostname,
-                       int              display_num)
+                       const char             *hostname,
+                       int                     display_num)
 {
         RemoveHostData  *data;
         GdmDisplayStore *store;
@@ -1744,8 +1744,8 @@
 
 static void
 gdm_xdmcp_send_decline (GdmXdmcpDisplayFactory *factory,
-                        GdmAddress      *address,
-                        const char      *reason)
+                        GdmAddress             *address,
+                        const char             *reason)
 {
         XdmcpHeader      header;
         ARRAY8           authentype;
@@ -1869,8 +1869,8 @@
 
 static void
 gdm_xdmcp_handle_request (GdmXdmcpDisplayFactory *factory,
-                          GdmAddress      *address,
-                          int              len)
+                          GdmAddress             *address,
+                          int                     len)
 {
         CARD16        clnt_dspnum;
         ARRAY16       clnt_conntyp;
@@ -2143,7 +2143,7 @@
 
 static GdmDisplay *
 gdm_xdmcp_display_lookup (GdmXdmcpDisplayFactory *factory,
-                          CARD32           sessid)
+                          CARD32                  sessid)
 {
         GdmDisplay      *display;
         GdmDisplayStore *store;
@@ -2162,8 +2162,8 @@
 
 static void
 gdm_xdmcp_send_failed (GdmXdmcpDisplayFactory *factory,
-                       GdmAddress      *address,
-                       CARD32           sessid)
+                       GdmAddress             *address,
+                       CARD32                  sessid)
 {
         XdmcpHeader header;
         ARRAY8      status;
@@ -2193,8 +2193,8 @@
 
 static void
 gdm_xdmcp_send_refuse (GdmXdmcpDisplayFactory *factory,
-                       GdmAddress      *address,
-                       CARD32           sessid)
+                       GdmAddress             *address,
+                       CARD32                  sessid)
 {
         XdmcpHeader      header;
         GdmForwardQuery *fq;
@@ -2227,8 +2227,8 @@
 
 static void
 gdm_xdmcp_handle_manage (GdmXdmcpDisplayFactory *factory,
-                         GdmAddress      *address,
-                         int              len)
+                         GdmAddress             *address,
+                         int                     len)
 {
         CARD32              clnt_sessid;
         CARD16              clnt_dspnum;
@@ -2349,8 +2349,8 @@
 
 static void
 gdm_xdmcp_handle_managed_forward (GdmXdmcpDisplayFactory *factory,
-                                  GdmAddress      *address,
-                                  int              len)
+                                  GdmAddress             *address,
+                                  int                     len)
 {
         ARRAY8              clnt_address;
         char               *host;
@@ -2363,8 +2363,8 @@
 
         /* Check with tcp_wrappers if client is allowed to access */
         if (! gdm_xdmcp_host_allow (address)) {
-                g_warning ("%s: Got MANAGED_FORWARD from banned host %s",
-                           "gdm_xdmcp_handle_request", host);
+                g_warning ("GdmXdmcpDisplayFactory: Got MANAGED_FORWARD from banned host %s",
+                           host);
                 g_free (host);
                 return;
         }
@@ -2404,8 +2404,8 @@
 
 static void
 gdm_xdmcp_handle_got_managed_forward (GdmXdmcpDisplayFactory *factory,
-                                      GdmAddress      *address,
-                                      int              len)
+                                      GdmAddress             *address,
+                                      int                     len)
 {
         GdmAddress *disp_address;
         ARRAY8      clnt_address;
@@ -2447,9 +2447,9 @@
 
 static void
 gdm_xdmcp_send_alive (GdmXdmcpDisplayFactory *factory,
-                      GdmAddress      *address,
-                      CARD16           dspnum,
-                      CARD32           sessid)
+                      GdmAddress             *address,
+                      CARD16                  dspnum,
+                      CARD32                  sessid)
 {
         XdmcpHeader header;
         GdmDisplay *display;
@@ -2493,8 +2493,8 @@
 
 static void
 gdm_xdmcp_handle_keepalive (GdmXdmcpDisplayFactory *factory,
-                            GdmAddress      *address,
-                            int              len)
+                            GdmAddress             *address,
+                            int                     len)
 {
         CARD16 clnt_dspnum;
         CARD32 clnt_sessid;



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