[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kdm/backend
From:       David Faure <faure () kde ! org>
Date:       2005-02-23 15:47:36
Message-ID: 20050223154736.B75491487A () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

Fixed compilation with --without-xdmcp


  M +4 -1      ctrl.c   2.43
  M +4 -1      dm.c   1.119


--- kdebase/kdm/backend/ctrl.c  #2.42:2.43
@@ -363,8 +363,11 @@ emitXSessC( struct display *di, struct d
 #endif
         *bp++ = ',';
+#ifdef XDMCP
         if (di->status == remoteLogin) {
                 *bp++ = ',';
                 str_cat_l( &bp, di->remoteHost, sizeof(cbuf)/3 );
-        } else {
+        } else
+#endif
+        {
                 if (di->userName)
                         str_cat_l( &bp, di->userName, sizeof(cbuf)/5 );

--- kdebase/kdm/backend/dm.c  #1.118:1.119
@@ -675,8 +675,11 @@ emitXSessG( struct display *di, struct d
         GSendInt( di->serverVT );
 #endif
+#ifdef XDMCP
         if (di->status == remoteLogin) {
                 GSendStr( "" );
                 GSendStr( d->remoteHost );
-        } else {
+        } else
+#endif
+        {
                 GSendStr( di->userName );
                 GSendStr( di->sessName );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic