Changeset 4450 for trunk/Ohana/src/opihi/pcontrol/pclient.c
- Timestamp:
- Jul 4, 2005, 5:35:47 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/pclient.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/pclient.c
r3212 r4450 13 13 /* send command to client (adding on \n) */ 14 14 /* fprintf (stderr, "send: %s (%d)\n", command, buffer[0].Nbuffer); */ 15 ALLOCATE (line, char, MAX (1, strlen(command) ));15 ALLOCATE (line, char, MAX (1, strlen(command) + 1)); 16 16 sprintf (line, "%s\n", command); 17 17 status = write (host[0].stdin, line, strlen(line));
Note:
See TracChangeset
for help on using the changeset viewer.
