From cb069683fabfd509b54edbc9416b019b4c86caba Mon Sep 17 00:00:00 2001 From: Todd Fries Date: Tue, 11 Jan 2011 21:53:26 +0000 Subject: stray extra init of global pointer in random function, removed.. ok marco@ --- xxxterm.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xxxterm.c b/xxxterm.c index 53a97fd..32e25e4 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -6136,10 +6136,6 @@ send_url_to_socket(char *url) int s, len, rv = -1; struct sockaddr_un sa; - pwd = getpwuid(getuid()); - if (pwd == NULL) - errx(1, "invalid user %d", getuid()); - if ((s = socket(AF_UNIX, SOCK_STREAM, 0)) == -1) { warnx("send_url_to_socket: socket"); return (-1); -- cgit 1.4.1-2-gfad0