$NetBSD: patch-ac,v 1.1 2004/01/10 09:26:33 jlam Exp $ --- cupshelper.cxx.orig Wed Jan 9 08:34:17 2002 +++ cupshelper.cxx @@ -67,14 +67,14 @@ int CupsHelper::port(){ return port_; } -void CupsHelper::setHostInfo(const char *host, int port = 631){ +void CupsHelper::setHostInfo(const char *host, int port){ strcpy(host_,host); cupsSetServer(host_); port_ = port; ippSetPort(port_); } -void CupsHelper::setLoginInfo(const char *usr = 0, const char *pwd = 0){ +void CupsHelper::setLoginInfo(const char *usr, const char *pwd){ strcpy(login_,usr); cupsSetUser(login_); strcpy(password_,pwd);