Correct a lot of printing calls. Remove extra arguments...
[openssl.git] / apps / s_cb.c
index 675527d..1410178 100644 (file)
@@ -239,14 +239,14 @@ long MS_CALLBACK bio_dump_cb(BIO *bio, int cmd, const char *argp, int argi,
 
        if (cmd == (BIO_CB_READ|BIO_CB_RETURN))
                {
-               BIO_printf(out,"read from %08X [%08lX] (%d bytes => %ld (0x%X))\n",
+               BIO_printf(out,"read from %p [%p] (%d bytes => %ld (0x%lX))\n",
                        bio,argp,argi,ret,ret);
                BIO_dump(out,argp,(int)ret);
                return(ret);
                }
        else if (cmd == (BIO_CB_WRITE|BIO_CB_RETURN))
                {
-               BIO_printf(out,"write to %08X [%08lX] (%d bytes => %ld (0x%X))\n",
+               BIO_printf(out,"write to %p [%p] (%d bytes => %ld (0x%lX))\n",
                        bio,argp,argi,ret,ret);
                BIO_dump(out,argp,(int)ret);
                }