Fix typo in comment (thx sECuRE)

This commit is contained in:
Axel Wagner 2011-03-20 19:52:20 +01:00
parent ba748d72ff
commit edcc373077
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ void got_data(struct ev_loop *loop, ev_io *watcher, int events) {
DLOG("Got data!\n"); DLOG("Got data!\n");
int fd = watcher->fd; int fd = watcher->fd;
/* First we only read the header, because we know it's length */ /* First we only read the header, because we know its length */
uint32_t header_len = strlen(I3_IPC_MAGIC) + sizeof(uint32_t)*2; uint32_t header_len = strlen(I3_IPC_MAGIC) + sizeof(uint32_t)*2;
char *header = malloc(header_len); char *header = malloc(header_len);
if (header == NULL) { if (header == NULL) {