Changeset 469 for trunk/zoo-project/zoo-kernel/zcfg2yaml.c
- Timestamp:
- May 1, 2014, 1:28:14 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/zcfg2yaml.c
r467 r469 30 30 int main(int argc, char** argv){ 31 31 service* s1=NULL; 32 maps *m ;32 maps *m=NULL; 33 33 char conf_file[1024]; 34 34 snprintf(conf_file,1024,"%s",argv[1]); … … 37 37 return errorException(m, _("Unable to allocate memory."),"InternalError",NULL); 38 38 } 39 int t=getServiceFromFile( conf,file,service);39 int t=getServiceFromFile(m,conf_file,&s1); 40 40 if(t>=0) 41 41 dumpServiceAsYAML(s1);
Note: See TracChangeset
for help on using the changeset viewer.