]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
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 2419ce53cf5a5d5caff7c3859f67c4c38d3f3e90..bfefad3d7e8afa7f960f69ebc2b6b9156754ea56 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");
                }
        }