CVS logs say,

    revision 1.81
    date: 2004/05/24 04:15:11;  author: cbiere;  state: Exp;  lines: +8 -7
    FUZZY_DROP and FUZZY_MATCH were accidently defined as zero.
    dmesh_url_strerror(): Fixed too weak assertion.
            Replaced "%lx" by proper "%p".

The `Replaced "%lx" by proper "%p".' is a good thing, but I think that
all printf/sprintf/etc implementations prepend a "0x".  Here is some
test code I ran,

    int main(void)
    {
        printf("test %%p:  0x%p (str=0x%p:%s)\n",
               "test", "test", "test");

        return 0;
    }

    [EMAIL PROTECTED] src]$ gcc -o foo foo.c
    [EMAIL PROTECTED] src]$ ./foo 
    test %p:  0x0x80485a0 (str=0x0x80485a0:test)
              ^^^^             ^^^^

Perhaps we should remove the "0x".

[dmesh.c : 1537]
                if (dbg > 4)
-                       printf("Checking deferred url 0x%p (str=0x%p:%s)\n",
+                       printf("Checking deferred url %p (str=%p:%s)\n",
                                d, d->dmesh_url->name, d->dmesh_url->name);

fwiw,
Bill Pringlemeir.



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to