diff options
author | Todd Fries <todd@fries.net> | 2011-01-11 21:53:26 +0000 |
---|---|---|
committer | Todd Fries <todd@fries.net> | 2011-01-11 21:53:26 +0000 |
commit | cb069683fabfd509b54edbc9416b019b4c86caba (patch) | |
tree | d9b608f1649cb5163c64c6b7ec16220323c3c350 | |
parent | 381fc152758e6928d6f34b30395aec8b38bf44aa (diff) | |
download | xombrero-cb069683fabfd509b54edbc9416b019b4c86caba.tar.gz |
stray extra init of global pointer in random function, removed.. ok marco@
-rw-r--r-- | xxxterm.c | 4 |
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); |