Fix minor bogus message
authorMark Spencer <markster@digium.com>
Fri, 5 Dec 2003 17:33:30 +0000 (17:33 +0000)
committerMark Spencer <markster@digium.com>
Fri, 5 Dec 2003 17:33:30 +0000 (17:33 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1832 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_sayunixtime.c

index 2419ce5..bfefad3 100755 (executable)
@@ -76,9 +76,9 @@ static int sayunixtime_exec(struct ast_channel *chan, void *data)
                                if (s) {
                                        format = s;
                                }
-                       } else {
-                               ast_log(LOG_ERROR, "Out of memory error\n");
                        }
+               } else {
+                       ast_log(LOG_ERROR, "Out of memory error\n");
                }
        }