IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14190


Ignore:
Timestamp:
Jul 12, 2007, 5:16:24 PM (19 years ago)
Author:
eugene
Message:

removed extra space in echo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.basic/echo.c

    r7917 r14190  
    55  int i;
    66
    7   for (i = 1; i < argc; i++) {
     7  for (i = 1; i < argc - 1; i++) {
    88    gprint (GP_LOG, "%s ", argv[i]);
    99  }
    10   gprint (GP_LOG, "\n");
     10  if (argc >= 2) {
     11      gprint (GP_LOG, "%s\n", argv[argc - 1]);
     12  }
    1113  return (TRUE);
    1214}
Note: See TracChangeset for help on using the changeset viewer.