Only need to output one version of the version message.

git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1830 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Richard Mudgett
2010-07-16 17:20:21 +00:00
parent 14ff4bfad6
commit cf6a952c31

View File

@@ -3031,8 +3031,8 @@ int main(int argc, char *argv[])
memset(&dummy_ctrl, 0, sizeof(dummy_ctrl));
dummy_ctrl.debug = PRI_DEBUG_APDU;
pri_message(&dummy_ctrl, "LibPRI version tested: %s\n", pri_get_version());
pri_error(&dummy_ctrl, "LibPRI version tested: %s\n", pri_get_version());
/* For sanity specify what version of libpri we are testing. */
pri_error(&dummy_ctrl, "libpri version tested: %s\n", pri_get_version());
offset = 0;
pri_message(&dummy_ctrl, "Encode/decode message(s)\n");