~tritone-team/tritone/eucalyptus

« back to all changes in this revision

Viewing changes to node/server-marshal.c

  • Committer: Bazaar Package Importer
  • Author(s): Dustin Kirkland
  • Date: 2009-12-01 21:09:28 UTC
  • mto: This revision was merged to the branch mainline in revision 75.
  • Revision ID: james.westby@ubuntu.com-20091201210928-o2dvg0ubljhb0ft6
Tags: upstream-1.6.1~bzr1083
ImportĀ upstreamĀ versionĀ 1.6.1~bzr1083

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
    axis2_char_t * userId = adb_ncPowerDownType_get_userId(input, env);
83
83
 
84
84
    // get operation-specific fields from input
85
 
    axis2_char_t * cid = adb_ncPowerDownType_get_correlationId(input, env);
86
85
    fprintf(stderr, "powerdown called\n\n");
87
86
    eventlog("NC", userId, correlationId, "PowerDown", "begin");
88
87
    { // do it
131
130
    axis2_char_t * userId = adb_ncStartNetworkType_get_userId(input, env);
132
131
 
133
132
    // get operation-specific fields from input
134
 
    axis2_char_t * cid = adb_ncStartNetworkType_get_correlationId(input, env);
135
133
    int port = adb_ncStartNetworkType_get_remoteHostPort(input, env);
136
134
    int vlan = adb_ncStartNetworkType_get_vlan(input, env);
137
135
    int peersLen = adb_ncStartNetworkType_sizeof_remoteHosts(input, env);
500
498
    eventlog("NC", userId, correlationId, "GetConsoleOutput", "begin");
501
499
    { // do it
502
500
        ncMetadata meta = { correlationId, userId };
503
 
        char * consoleOutput;
 
501
        char * consoleOutput=NULL;
504
502
 
505
503
        int error = doGetConsoleOutput (&meta, instanceId, &consoleOutput);
506
504
    
517
515
            // set operation-specific fields in output
518
516
            adb_ncGetConsoleOutputResponseType_set_consoleOutput(output, env, consoleOutput);
519
517
        }
 
518
        if (consoleOutput) free(consoleOutput);
520
519
    }
521
520
    // set response to output
522
521
    adb_ncGetConsoleOutputResponse_set_ncGetConsoleOutputResponse(response, env, output);