Subject: [netatalk-admins] well, it wasn't my fault

From: a sun <[email-masked]>
Date: Fri, 1 Aug 1997 05:47:27 -0700 (PDT)

it turns out that the desktop icon problem also exists in 1.4b2
itself. here's a patch for 1.4b2's desktop.c:

--- desktop.c~  Fri Aug  1 05:45:05 1997
+++ desktop.c   Fri Aug  1 05:45:45 1997
@@ -283,6 +283,7 @@
            return( AFPERR_NOITEM );
        }
        bcopy( ih + 10, &bsize, sizeof( u_short ));
+       bsize = ntohs(bsize);
        if ( lseek( si.sdt_fd, (long)bsize, SEEK_CUR ) < 0 ) {
            syslog( LOG_ERR, "afp_iconinfo: lseek: %m" );
            return( AFPERR_PARAM );