Changeset 5725
- Timestamp:
- 07/25/11 00:53:17 (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-gbox.c
r5667 r5725 528 528 uint32_t r_addr_len = 0; 529 529 struct sockaddr_in r_addr; 530 if ((n = recvfrom(cli->udp_fd, data, sizeof(gbox->buf), 0, (struct sockaddr *)&r_addr, &r_addr_len)) < 8) {530 if ((n = recvfrom(cli->udp_fd, data, sizeof(gbox->buf), 0, (struct sockaddr *)&r_addr, (socklen_t *)&r_addr_len)) < 8) { 531 531 cs_log("gbox: invalid recvfrom!!!"); 532 532 cs_writeunlock(&gbox->lock); -
trunk/module-newcamd.c
r5695 r5725 71 71 len += head_size; 72 72 if (netMsgId) { 73 switch(commType) 74 { 75 case COMMTYPE_CLIENT: 76 (*netMsgId)++; 77 break; 78 } 73 if(commType==COMMTYPE_CLIENT) (*netMsgId)++; 79 74 netbuf[2] = (*netMsgId) >> 8; 80 75 netbuf[3] = (*netMsgId) & 0xff; -
trunk/oscam.c
r5709 r5725 2840 2840 cleanup_thread(cl); 2841 2841 pthread_exit(NULL); 2842 return 0;2842 return NULL; 2843 2843 } 2844 2844 … … 2982 2982 2983 2983 pthread_exit(NULL); 2984 return 0;2984 return NULL; 2985 2985 } 2986 2986
Note:
See TracChangeset
for help on using the changeset viewer.