[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/examples
From: |
gsasl-commit |
Subject: |
CVS gsasl/examples |
Date: |
Sun, 31 Oct 2004 20:44:20 +0100 |
Update of /home/cvs/gsasl/examples
In directory dopio:/tmp/cvs-serv13355
Modified Files:
client.c
Log Message:
Remove gsasl_property.*global.
--- /home/cvs/gsasl/examples/client.c 2004/10/04 15:06:43 1.4
+++ /home/cvs/gsasl/examples/client.c 2004/10/31 19:44:20 1.5
@@ -84,6 +84,11 @@
return;
}
+ /* Set username and password in session handle. This info will be
+ lost when this session is deallocated below. */
+ gsasl_property_set (session, GSASL_AUTHID, "jas");
+ gsasl_property_set (session, GSASL_PASSWORD, "secret");
+
/* Do it. */
client_authenticate (ctx, session);
@@ -104,13 +109,6 @@
return 1;
}
- /* Set username and password in global handle. The same user info
- will be used for all future sessions, but can be overriden per
- session using the gsasl_property_set function, on the session
- handle. */
- gsasl_property_set_global (ctx, GSASL_AUTHID, "jas");
- gsasl_property_set_global (ctx, GSASL_PASSWORD, "secret");
-
/* Do it. */
client (ctx);