[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/kdeprint/cups
From: Helio Chissini de Castro <helio () kde ! org>
Date: 2007-08-26 17:19:53
Message-ID: 1188148793.661758.21198.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 704939 by helio:
- Make it compile back with 1.2.x
M +8 -0 ipprequest.cpp
--- branches/KDE/3.5/kdelibs/kdeprint/cups/ipprequest.cpp #704938:704939
@@ -310,8 +310,12 @@
}
#ifdef HAVE_CUPS_NO_PWD_CACHE
+#ifdef CUPS_VERSION < 1.0300
+ strncpy( HTTP->authstring, cups_authstring.data(), HTTP_MAX_VALUE );
+#else
strncpy( httpGetAuthString( HTTP ), cups_authstring.data(), HTTP_MAX_VALUE );
#endif
+#endif
if (dump_ > 0)
{
@@ -320,8 +324,12 @@
request_ = cupsDoFileRequest(HTTP, request_, (res.isEmpty() ? "/" : res.latin1()), \
(filename.isEmpty() ? NULL : filename.latin1())); #ifdef HAVE_CUPS_NO_PWD_CACHE
+#ifdef CUPS_VERSION < 1.0300
+ cups_authstring = HTTP->authstring;
+#else
cups_authstring = httpGetAuthString( HTTP );
#endif
+#endif
httpClose(HTTP);
if (dump_ > 1)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic