(file) Return to smpl_01.c CVS log (file) (dir) Up to [Development] / JSOC / proj / cookbook

Diff for /JSOC/proj/cookbook/smpl_01.c between version 1.3 and 1.4

version 1.3, 2009/07/27 23:42:22 version 1.4, 2011/11/04 00:30:30
Line 34  ModuleArgs_t module_args[] = {
Line 34  ModuleArgs_t module_args[] = {
 int DoIt (void) { int DoIt (void) {
   int status;   int status;
  
   char *msg = cmdparams_get_str (&cmdparams, "print", &status);    char *msg = strdup (cmdparams_get_str (&cmdparams, "print", &status));
  
   if (params_isflagset (&cmdparams, "v"))   if (params_isflagset (&cmdparams, "v"))
     printf ("running module %s version %s\n", module_name, version_id);     printf ("running module %s version %s\n", module_name, version_id);


Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Karen Tian
Powered by
ViewCVS 0.9.4