Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/librpc/gen_ndr/ndr_perfcount.c

    r414 r745  
    4545{
    4646        ndr_print_struct(ndr, name, "SYSTEMTIME");
     47
    4748        ndr->depth++;
    4849        ndr_print_uint16(ndr, "year", r->year);
     
    102103{
    103104        ndr_print_struct(ndr, name, "PERF_COUNTER_DEFINITION");
     105
    104106        ndr->depth++;
    105107        ndr_print_uint32(ndr, "ByteLength", r->ByteLength);
     
    146148{
    147149        ndr_print_struct(ndr, name, "PERF_COUNTER_BLOCK");
     150
    148151        ndr->depth++;
    149152        ndr_print_uint32(ndr, "ByteLength", r->ByteLength);
     
    209212{
    210213        ndr_print_struct(ndr, name, "PERF_INSTANCE_DEFINITION");
     214
    211215        ndr->depth++;
    212216        ndr_print_uint32(ndr, "ByteLength", r->ByteLength);
     
    318322        uint32_t cntr_instances_0;
    319323        ndr_print_struct(ndr, name, "PERF_OBJECT_TYPE");
     324
    320325        ndr->depth++;
    321326        ndr_print_uint32(ndr, "TotalByteLength", r->TotalByteLength);
     
    336341        ndr->depth++;
    337342        for (cntr_counters_0=0;cntr_counters_0<r->NumCounters;cntr_counters_0++) {
    338                 char *idx_0=NULL;
    339                 if (asprintf(&idx_0, "[%d]", cntr_counters_0) != -1) {
    340                         ndr_print_PERF_COUNTER_DEFINITION(ndr, "counters", &r->counters[cntr_counters_0]);
    341                         free(idx_0);
    342                 }
     343                ndr_print_PERF_COUNTER_DEFINITION(ndr, "counters", &r->counters[cntr_counters_0]);
    343344        }
    344345        ndr->depth--;
     
    346347        ndr->depth++;
    347348        for (cntr_instances_0=0;cntr_instances_0<r->NumInstances;cntr_instances_0++) {
    348                 char *idx_0=NULL;
    349                 if (asprintf(&idx_0, "[%d]", cntr_instances_0) != -1) {
    350                         ndr_print_PERF_INSTANCE_DEFINITION(ndr, "instances", &r->instances[cntr_instances_0]);
    351                         free(idx_0);
    352                 }
     349                ndr_print_PERF_INSTANCE_DEFINITION(ndr, "instances", &r->instances[cntr_instances_0]);
    353350        }
    354351        ndr->depth--;
     
    460457        uint32_t cntr_objects_0;
    461458        ndr_print_struct(ndr, name, "PERF_DATA_BLOCK");
     459
    462460        ndr->depth++;
    463461        ndr->print(ndr, "%s: ARRAY(%d)", "Signature", (int)4);
    464462        ndr->depth++;
    465463        for (cntr_Signature_0=0;cntr_Signature_0<4;cntr_Signature_0++) {
    466                 char *idx_0=NULL;
    467                 if (asprintf(&idx_0, "[%d]", cntr_Signature_0) != -1) {
    468                         ndr_print_uint16(ndr, "Signature", r->Signature[cntr_Signature_0]);
    469                         free(idx_0);
    470                 }
     464                ndr_print_uint16(ndr, "Signature", r->Signature[cntr_Signature_0]);
    471465        }
    472466        ndr->depth--;
     
    494488        ndr->depth++;
    495489        for (cntr_objects_0=0;cntr_objects_0<r->NumObjectTypes;cntr_objects_0++) {
    496                 char *idx_0=NULL;
    497                 if (asprintf(&idx_0, "[%d]", cntr_objects_0) != -1) {
    498                         ndr_print_PERF_OBJECT_TYPE(ndr, "objects", &r->objects[cntr_objects_0]);
    499                         free(idx_0);
    500                 }
    501         }
    502         ndr->depth--;
    503         ndr->depth--;
    504 }
    505 
     490                ndr_print_PERF_OBJECT_TYPE(ndr, "objects", &r->objects[cntr_objects_0]);
     491        }
     492        ndr->depth--;
     493        ndr->depth--;
     494}
     495
Note: See TracChangeset for help on using the changeset viewer.