/[pdpsoft]/trunk/grid-mw-security/ees/plugin_examples/localaccount/src/localaccount.c
ViewVC logotype

Diff of /trunk/grid-mw-security/ees/plugin_examples/localaccount/src/localaccount.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2140 by aramv, Fri Oct 29 15:29:31 2010 UTC revision 2141 by aramv, Fri Jan 14 14:41:18 2011 UTC
# Line 468  int get_var_as_int(char* name){ Line 468  int get_var_as_int(char* name){
468      while((attribute = getNextAttribute(context))){      while((attribute = getNextAttribute(context))){
469        if(strcmp(getAttributeId(attribute), localname) == 0){        if(strcmp(getAttributeId(attribute), localname) == 0){
470          free(localname);          free(localname);
471          return getAttributeValueAsInt(attribute);          if(attribute){
472              return getAttributeValueAsInt(attribute);
473            }
474        }        }
475      }      }
476    }    }

Legend:
Removed from v.2140  
changed lines
  Added in v.2141

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28