Minor fixups
authorMark Spencer <markster@digium.com>
Sun, 5 Oct 2003 22:17:32 +0000 (22:17 +0000)
committerMark Spencer <markster@digium.com>
Sun, 5 Oct 2003 22:17:32 +0000 (22:17 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1608 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_sayunixtime.c
frame.c

index 6a6fa62..26905a0 100755 (executable)
@@ -7,7 +7,7 @@
  *
  * Tilghman Lesher <app_sayunixtime__200309@the-tilghman.com>
  *
- * This code is in the public domain.
+ * This code is released by the author with no restrictions on usage.
  *
  */
 
diff --git a/frame.c b/frame.c
index 6a4c20b..36ac0e1 100755 (executable)
--- a/frame.c
+++ b/frame.c
@@ -454,6 +454,10 @@ static int show_codecs(int fd, int argc, char *argv[])
        if ((argc < 2) || (argc > 3))
                return RESULT_SHOWUSAGE;
 
+       if (getenv("I_AM_NOT_AN_IDIOT") == NULL)
+               ast_cli(fd, "Disclaimer: this command is for informational purposes
+only.\n\tIt does not indicate anything about your configuration.\n");
+
        if ((argc == 2) || (!strcasecmp(argv[1],"audio"))) {
                found = 1;
                for (i=0;i<11;i++)