Skip to content

Commit

Permalink
Fix compile error after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
harlequin committed Jun 2, 2016
1 parent 155fb45 commit 5a24aef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dvbapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ void start_capmt_server()
struct sockaddr_un addr, peer_addr;
socklen_t peer_addr_size;

unlink(capmt_socket_path);
unlink(SOCKET_PATH);
memset(&addr, 0, sizeof(struct sockaddr_un));
strncpy(addr.sun_path, SOCKET_PATH, sizeof(addr.sun_path) - 1);
addr.sun_family = AF_UNIX;
Expand Down Expand Up @@ -828,5 +828,3 @@ EXTERN_C void lib_init(void *_h, const char *libpath) {
EXTERN_C void lib_deinit(void *_h) {
log("If you see this message you forget to specify -r when invoking hijack :)\n");
}


0 comments on commit 5a24aef

Please sign in to comment.