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

Diff for /JSOC/proj/cookbook/smpl_00.c between version 1.5 and 1.6

version 1.5, 2009/08/26 15:05:48 version 1.6, 2011/11/04 00:30:09
Line 30  CmdParams_t cmdparams;
Line 30  CmdParams_t cmdparams;
  
 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));
   printf ("%s\n", msg);   printf ("%s\n", msg);
   return 0;   return 0;
 } }


Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

Karen Tian
Powered by
ViewCVS 0.9.4