[systemd-commits] src/login

Lennart Poettering lennart at kemper.freedesktop.org
Thu Nov 7 00:41:15 CET 2013


 src/login/pam-module.c |   24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

New commits:
commit d1529c9ea012d37a595417af98804d5d0b5f00d9
Author: Lennart Poettering <lennart at poettering.net>
Date:   Thu Nov 7 00:20:11 2013 +0100

    pam: externally our booleans are ints, not unsigneds

diff --git a/src/login/pam-module.c b/src/login/pam-module.c
index 61df3e9..0be39de 100644
--- a/src/login/pam-module.c
+++ b/src/login/pam-module.c
@@ -178,19 +178,21 @@ _public_ PAM_EXTERN int pam_sm_open_session(
                 int flags,
                 int argc, const char **argv) {
 
-        struct passwd *pw;
-        bool debug = false;
-        const char *username, *id, *object_path, *runtime_path, *service = NULL, *tty = NULL, *display = NULL, *remote_user = NULL, *remote_host = NULL, *seat = NULL, *type = NULL, *class = NULL, *class_pam = NULL, *cvtnr = NULL;
-        uint32_t uid, pid;
-        int session_fd = -1;
-        bool remote;
-        unsigned existing;
-        uint32_t vtnr = 0;
-        int r;
-
-        _cleanup_bus_unref_ sd_bus *bus = NULL;
         _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL;
         _cleanup_bus_message_unref_ sd_bus_message *reply = NULL;
+        const char
+                *username, *id, *object_path, *runtime_path,
+                *service = NULL,
+                *tty = NULL, *display = NULL,
+                *remote_user = NULL, *remote_host = NULL,
+                *seat = NULL,
+                *type = NULL, *class = NULL,
+                *class_pam = NULL, *cvtnr = NULL;
+        _cleanup_bus_unref_ sd_bus *bus = NULL;
+        int session_fd = -1, existing, r;
+        uint32_t uid, pid, vtnr = 0;
+        bool debug = false, remote;
+        struct passwd *pw;
 
         assert(handle);
 



More information about the systemd-commits mailing list