[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] libxen patch



Patch to fix uses of upper-case 'S' in session class.

Jim

# HG changeset patch
# User jfehlig@xxxxxxxxxxxxxxxxxxxxxxxxx
# Date 1161978211 21600
# Node ID 37bc4334ea223ca8d2add7ce27335ec6761f8679
# Parent  3923a7c48e1777692f7af8eb2caf06f9c35fe1b1
The 'session' class begings with lower-case 's' in XenAPI document.  Change 
occurrences of 'Session' with 'session'.

Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxxxx>

diff -r 3923a7c48e17 -r 37bc4334ea22 tools/libxen/src/xen_common.c
--- a/tools/libxen/src/xen_common.c     Fri Oct 27 16:46:27 2006 +0100
+++ b/tools/libxen/src/xen_common.c     Fri Oct 27 13:43:31 2006 -0600
@@ -137,7 +137,7 @@ xen_session_login_with_password(xen_call
     session->error_description = NULL;
     session->error_description_count = 0;
 
-    call_raw(session, "Session.login_with_password", params, 2,
+    call_raw(session, "session.login_with_password", params, 2,
              &abstract_type_string, &session->session_id);
 
     return session;
@@ -150,7 +150,7 @@ xen_session_logout(xen_session *session)
     abstract_value params[] =
         {
         };
-    xen_call_(session, "Session.logout", params, 0, NULL, NULL);
+    xen_call_(session, "session.logout", params, 0, NULL, NULL);
 
     if (session->error_description != NULL)
     {
@@ -173,7 +173,7 @@ xen_session_get_this_host(xen_session *s
         {
         };
 
-    xen_call_(session, "Session.get_this_host", params, 0,
+    xen_call_(session, "session.get_this_host", params, 0,
               &abstract_type_string, result);
     return session->ok;
 }
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.