Changeset 5d6c178 for ipc.c


Ignore:
Timestamp:
2006-05-10T12:47:55Z (14 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
764b0aba
Parents:
64d1f45
Message:

Fix compilation with tcc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipc.c

    r64d1f45 r5d6c178  
    507507        }
    508508
    509         if (bind(serversock, &un_addr, sizeof(un_addr)) == -1) {
     509        if (bind(serversock, (struct sockaddr *)&un_addr, sizeof(un_addr)) == -1) {
    510510                log_message( LOGLVL_WARNING, "Unable to bind UNIX socket to %s: %s", IPCSOCKET, strerror(errno) );
    511511                return 0;
Note: See TracChangeset for help on using the changeset viewer.