[Kde-print-devel] [Bug 116260] Compile failure of kdelibs with cups-1.2svn

Thiago Macieira thiago at kde.org
Sun Nov 13 21:11:48 CET 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=116260         
thiago kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From thiago kde org  2005-11-13 21:11 -------
SVN commit 480213 by thiago:

Forward-porting the bugfix for bug 116260.

BUG:116260
BACKPORT:480212


 M  +1 -1      cups-util.c  


--- trunk/KDE/kdelibs/kdeprint/cups/cupsdconf2/cups-util.c #480212:480213
 @ -442,7 +442,7  @
   * See if we are accessing localhost...
   */
 
-  if (ntohl(http->hostaddr.sin_addr.s_addr) != 0x7f000001 &&
+  if (ntohl(*(int*)&http->hostaddr.sin_addr) != 0x7f000001 &&
       strcasecmp(http->hostname, "localhost") != 0)
     return (0);


More information about the Kde-print-devel mailing list