Changeset 27


Ignore:
Timestamp:
10/13/11 09:12:48 (12 years ago)
Author:
mmamonski
Message:

parsing exec_vnode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pbs_drmaa/log_reader.c

    r26 r27  
    454454                                                                        { 
    455455                                                                                char *p_vnode = NULL; 
    456                                                                                 if (p_vnode = strstr(field, "exec_vnode")) 
     456                                                                                if ((p_vnode = strstr(field, "exec_vnode"))) 
    457457                                                                                 { 
    458458                                                                                        last_attr->next = &struct_exec_vnode; 
     
    460460                                                                                        struct_exec_vnode.name = "exec_vnode"; 
    461461                                                                                        struct_exec_vnode.next = NULL; 
    462                                                                                         struct_exec_vnode.value = fsd_strdup(p + 11); 
     462                                                                                        struct_exec_vnode.value = fsd_strdup(p_vnode + 11); 
    463463                                                                                 } 
    464464                                                                        } 
Note: See TracChangeset for help on using the changeset viewer.