Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Using the '-h' option to lpq causes it to segfault. Here is a patch that causes it not to segfault, but I don't think the -h functionality is working either.
--- cups-1.2rc1/berkeley/lpq.c.lpq 2006-03-27 12:12:04.000000000 +0100
The problem is that 'http' is used after it is closed.
--- lpq.c (revision 5344)
+static http_t connect_server(const char *, http_t *);
for (i = 1; i < argc; i ++)
if (dest == NULL && !all)