HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: AIX Getty Feature.., attempted fix
On Fri, 20 Mar 1998, Steve Williams wrote:
[snip]
> ----
> char *device=getLine();
>
> while ((ut = getutent()) != NULL) {
> if (!strneq(ut->ut_line, device, sizeof (ut->ut_line)) &&
> !strneq(ut->ut_line, device|"/0", sizeof (ut->ut_line)))
> ^^^^^^^^
> ----
>
> But this doesn't compile ( understandably so, because neither of the items
> around the "|" are fxStr's, so it's not going to know what the heck to do.
How about trying:
fxStr device = getLine ();
--
Jonathan Chen <jonc@pinnacle.co.nz> Once is dumb luck.
Twice is coincidence.
Three times and Somebody Is Trying To Tell You Something.