fix compile error (%d changed to %n)
authorKevin P. Fleming <kpfleming@digium.com>
Fri, 14 Oct 2005 05:29:41 +0000 (05:29 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Fri, 14 Oct 2005 05:29:41 +0000 (05:29 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6790 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 45ed0a4..7292e9f 100755 (executable)
@@ -8189,7 +8189,7 @@ static struct iax2_peer *build_peer(const char *name, struct ast_variable *v, in
                        } else if (!strcasecmp(v->name, "qualifyfreqnotok")) {
                                if (sscanf(v->value, "%d", &peer->pokefreqnotok) != 1) {
                                        ast_log(LOG_WARNING, "Qualification testing frequency of peer '%s' when NOT OK should be a number of milliseconds at line %d of iax.conf\n", peer->name, v->lineno);
-                               } else ast_log(LOG_WARNING, "Set peer->pokefreqnotok to %n\n", peer->pokefreqnotok);
+                               } else ast_log(LOG_WARNING, "Set peer->pokefreqnotok to %d\n", peer->pokefreqnotok);
                        } else if (!strcasecmp(v->name, "timezone")) {
                                ast_copy_string(peer->zonetag, v->value, sizeof(peer->zonetag));
                        }/* else if (strcasecmp(v->name,"type")) */