mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-22 07:40:00 +01:00
fix bugs
This commit is contained in:
@@ -82,8 +82,8 @@ static int sock_connect(const char *name, int port) {
|
||||
vj_sock_t *alloc_sock_t(void)
|
||||
{
|
||||
vj_sock_t *s = (vj_sock_t*) malloc(sizeof(vj_sock_t));
|
||||
memset( s, 0, sizeof(vj_sock_t));
|
||||
if(!s) return NULL;
|
||||
memset( s, 0, sizeof(vj_sock_t));
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user