Skip to content

Commit 5ebf8db

Browse files
committed
qoute literal strings on output
1 parent ce83a82 commit 5ebf8db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zosc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ zosc_print (zosc_t *self)
638638
{
639639
// not sure if the double pointer is the way to go
640640
char *str = (char*)(zchunk_data( self->chunk ) + needle);
641-
fprintf(stdout, " %s", str);
641+
fprintf(stdout, " \"%s\"", str);
642642
size_t l = strlen((char*)(zchunk_data( self->chunk ) + needle));
643643
needle += l + 1;
644644
needle = (needle + 3) & (size_t)~0x03;

0 commit comments

Comments
 (0)