diff options
author | Max Kellermann <max@duempel.org> | 2008-09-07 14:05:02 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-07 14:05:02 +0200 |
commit | 322e908893b781f4536b13bcf8a5c526a92e8b10 (patch) | |
tree | c66c923badfe0c6625311cb043393e5d71db63dc /src/client.c | |
parent | 4d8438e63d7c1cbed3ec40bf073574f3c01fce56 (diff) | |
download | mpd-322e908893b781f4536b13bcf8a5c526a92e8b10.tar.gz mpd-322e908893b781f4536b13bcf8a5c526a92e8b10.tar.xz mpd-322e908893b781f4536b13bcf8a5c526a92e8b10.zip |
client: removed client_get_fd()
Now that we have removed all invocations of client_get_fd(), we can
safely remove this transitional function. All access to the file
descriptor is now hidden behind the interface declared in client.h.
Diffstat (limited to '')
-rw-r--r-- | src/client.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/client.c b/src/client.c index 9bb0b224c..c6d4c6249 100644 --- a/src/client.c +++ b/src/client.c @@ -317,14 +317,6 @@ void client_new(int fd, const struct sockaddr *addr) sockaddr_to_tmp_string(addr)); } -int client_get_fd(struct client *client) -{ - assert(client != NULL); - assert(client->fd >= 0); - - return client->fd; -} - static int client_process_line(struct client *client) { int ret = 1; |