Package: onak
Version: 0.3.5-1
Severity: normal
Tags: patch

--- Please enter the report below this line. ---

Stupid bug when more than one photo-uid is present in a key.
The indx arg was correctly fetched from URL but not used...
Here is a patch:
Phil

--- lookup.c.orig       2008-02-22 15:12:35.000000000 +0100
+++ lookup.c    2008-02-22 15:05:16.000000000 +0100
@@ -195,7 +195,7 @@
                                unsigned char *photo = NULL;
                                size_t         length = 0;

-                               if (getphoto(publickey, 0, &photo,
&length)) {
+                               if (getphoto(publickey, indx, &photo,
&length)) {
                                        fwrite(photo,
                                                        1,
                                                        length,


--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.22-3-vserver-686

Debian Release: lenny/sid
  990 testing         ftp.kulnet.kuleuven.ac.be
  500 unstable        ftp.kulnet.kuleuven.ac.be

--- Package information. ---
Depends       (Version) | Installed
=======================-+-===========
adduser                 | 3.105
libc6        (>= 2.7-1) | 2.7-6
libdb4.2                | 4.2.52+dfsg-4




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to