x11: fix the wrong parameter sequence in pax11publish
authorDeng Zhengrong <dzrongg@gmail.com>
Wed, 6 Jun 2012 20:16:51 +0000 (04:16 +0800)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Fri, 8 Jun 2012 11:14:22 +0000 (16:44 +0530)
src/utils/pax11publish.c

index 0f9a030..16cf866 100644 (file)
@@ -195,7 +195,7 @@ int main(int argc, char *argv[]) {
 
             pa_client_conf_free(conf);
 
-            if (pa_authkey_load_auto(cookie_file, cookie, TRUE, sizeof(cookie)) < 0) {
+            if (pa_authkey_load_auto(cookie_file, TRUE, cookie, sizeof(cookie)) < 0) {
                 fprintf(stderr, _("Failed to load cookie data\n"));
                 goto finish;
             }