Rev 4359 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4359 | Rev 4930 | ||
---|---|---|---|
Line 84... | Line 84... | ||
84 | 84 | ||
Line 85... | Line 85... | ||
85 | DBG(("uploaded %d bytes of static state\n", stream->used)); |
85 | DBG(("uploaded %d bytes of static state\n", stream->used)); |
86 | 86 | ||
87 | if (DEBUG_DUMP) |
87 | if (DEBUG_DUMP) |
88 | { |
88 | { |
89 | int fd = open("/tmp1/1/static.bin", O_CREAT|O_WRONLY|O_BINARY); |
89 | int fd = open("/tmp1/1/static.bin", O_CREAT|O_WRONLY); |
90 | if (fd != -1) { |
90 | if (fd != -1) { |
91 | write(fd, stream->data, stream->used); |
91 | write(fd, stream->data, stream->used); |
92 | close(fd); |
92 | close(fd); |