about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTodd Fries <todd@fries.net>2011-01-11 21:53:26 +0000
committerTodd Fries <todd@fries.net>2011-01-11 21:53:26 +0000
commitcb069683fabfd509b54edbc9416b019b4c86caba (patch)
treed9b608f1649cb5163c64c6b7ec16220323c3c350
parent381fc152758e6928d6f34b30395aec8b38bf44aa (diff)
downloadxombrero-cb069683fabfd509b54edbc9416b019b4c86caba.tar.gz
stray extra init of global pointer in random function, removed.. ok marco@
-rw-r--r--xxxterm.c4
1 files changed, 0 insertions, 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);