Commit a728a09b authored by Georgi Chorbadzhiyski's avatar Georgi Chorbadzhiyski

dvblastctl: Remove local variable that is shadowing a global one.

Commit 102b40d2 added global cleanup function and made
i_fd variable global. Unfortunately i_fd definition was
not removed from main() so the cleanup function wasn't
really doing its job. The fix is simple just remove
the local definition of i_fd.
Signed-Off-By: default avatarGeorgi Chorbadzhiyski <gf@unixsol.org>
parent 102b40d2
......@@ -235,7 +235,7 @@ int main( int i_argc, char **ppsz_argv )
{
char *client_socket_tmpl = "dvblastctl.clientsock.XXXXXX";
char *psz_srv_socket = NULL;
int i_fd, i;
int i;
char *p_cmd, *p_arg1 = NULL, *p_arg2 = NULL;
ssize_t i_size;
struct sockaddr_un sun_client, sun_server;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment