diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-02-26 16:11:17 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-02-26 16:11:17 +0100 |
commit | 49ffdfd539fc7de2c41127fd9b29ad8b90839238 (patch) | |
tree | 3130eabd52528fd626b5d692e716265928ebdea7 /src/lib/sockets.c | |
parent | e36ae679a7a427b515fcc6a17a84f5e8a99544e3 (diff) | |
parent | f02e1f68905a563e1d73a298e0de0e5da8b2eb9f (diff) | |
download | ouroboros-49ffdfd539fc7de2c41127fd9b29ad8b90839238.tar.gz ouroboros-49ffdfd539fc7de2c41127fd9b29ad8b90839238.zip |
Merged in sandervrijders/ouroboros/be-bugfixes (pull request #14)
Be bugfixes
Diffstat (limited to 'src/lib/sockets.c')
-rw-r--r-- | src/lib/sockets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/sockets.c b/src/lib/sockets.c index 095c9e5c..0ebad842 100644 --- a/src/lib/sockets.c +++ b/src/lib/sockets.c @@ -45,7 +45,7 @@ int client_socket_open(char * file_name) } serv_addr.sun_family = AF_UNIX; - sprintf(serv_addr.sun_path, file_name); + sprintf(serv_addr.sun_path, "%s", file_name); if (connect(sockfd, (struct sockaddr *) &serv_addr, |