# | Line 7 | Line 7 | static const char RCSid[] = "$Id$"; | |
---|---|---|
7 | ||
8 | #include <signal.h> | |
9 | #include <sys/time.h> | |
10 | + | #include <string.h> |
11 | ||
12 | #include "rholo.h" | |
13 | #include "random.h" | |
# | Line 136 | Line 137 | register PACKET *p; | |
137 | /* write out the packet */ | |
138 | packrays(rtbuf, p); | |
139 | if ((n = p->nr) < RPACKSIZ) /* add flush block? */ | |
140 | < | bzero((char *)(rtbuf+6*n++), 6*sizeof(float)); |
140 | > | memset((char *)(rtbuf+6*n++), '\0', 6*sizeof(float)); |
141 | if (writebuf(rtpd[pn].w, (char *)rtbuf, 6*sizeof(float)*n) < 0) | |
142 | error(SYSTEM, "write error in queue_packet"); | |
143 | p->next = NULL; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |