Fix transposed args in open_pipe_creds() function.
authorTim Potter <tpot@samba.org>
Mon, 2 Sep 2002 07:42:39 +0000 (07:42 +0000)
committerTim Potter <tpot@samba.org>
Mon, 2 Sep 2002 07:42:39 +0000 (07:42 +0000)
source/python/py_common.c

index a65206e02237f40c198271c0346d3d2ea6625546..6247bf6371710dce5102d94190c83c00a9ae8d72 100644 (file)
@@ -211,7 +211,7 @@ struct cli_state *open_pipe_creds(char *server, PyObject *creds,
        
        /* Extract credentials from the python dictionary */
 
-       if (!py_parse_creds(creds, &username, &password, &domain, errstr))
+       if (!py_parse_creds(creds, &username, &domain, &password, errstr))
                return NULL;
 
        /* Now try to connect */