]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
oops!
authorRussell Bryant <russell@russellbryant.com>
Tue, 14 Jun 2005 20:24:38 +0000 (20:24 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 14 Jun 2005 20:24:38 +0000 (20:24 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5910 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_agi.c

index 05119c9c4375872be5f2304eb6e36f3eebb880b0..71c636ff8d0ee3e1c2561b3c8fd46821cc4a3fc3 100755 (executable)
@@ -397,9 +397,9 @@ static int handle_tddmode(struct ast_channel *chan, AGI *agi, int argc, char *ar
        if (!strncasecmp(argv[2],"tdd",3)) x = 1;
        res = ast_channel_setoption(chan,AST_OPTION_TDD,&x,sizeof(char),0);
        if (res == RESULT_SUCCESS)
-               fprintf(agi->fd, "200 result=1\n");
+               fdprintf(agi->fd, "200 result=1\n");
        else
-               fprintf(agi->fd, "200 result=0\n");
+               fdprintf(agi->fd, "200 result=0\n");
        return RESULT_SUCCESS;
 }