IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 3, 2005, 5:50:08 PM (21 years ago)
Author:
eugene
Message:

psched / pscontrol / pclient dev work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pcontrol/pclient.c

    r4573 r4705  
    1212
    1313  /* send command to client (adding on \n) */
    14   /* fprintf (stderr, "send: %s (%d)\n", command, buffer[0].Nbuffer); */
    15   ALLOCATE (line, char, MAX (1, strlen(command) + 1));
    16   sprintf (line, "%s\n", command);
    17   status = write (host[0].stdin, line, strlen(line));
    18   free (line);
     14  status = write_fmt (host[0].stdin, "%s\n", command);
    1915
    2016  /* is pipe still open? */
Note: See TracChangeset for help on using the changeset viewer.