Use fprintf() instead of tell_user() for user interaction.
authorMoritz Schulte <mo@g10code.com>
Mon, 31 Oct 2005 21:16:03 +0000 (21:16 +0000)
committerMoritz Schulte <mo@g10code.com>
Mon, 31 Oct 2005 21:16:03 +0000 (21:16 +0000)
src/ctrl/poldi-ctrl.c

index fb9a440..a4b7342 100644 (file)
@@ -537,8 +537,8 @@ cmd_test (void)
 
          if (! err)
            {
-             tell_user (conv, "Serial no %s is not associated with %s",
-                        serialno, username);
+             fprintf (stderr, "Serial no %s is not associated with %s\n",
+                      serialno, poldi_ctrl_opt.account);
              err = gpg_error (GPG_ERR_INV_NAME);
            }
          else