Fix typo
authorkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 4 Oct 2009 08:42:20 +0000 (08:42 +0000)
committerkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 4 Oct 2009 08:42:20 +0000 (08:42 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30291 f5534014-38df-0310-8fa8-9805f1628bb7

print.c

diff --git a/print.c b/print.c
index 5632bcc5166e64f89411d8afb5bbe66243ed6e5e..299b1be4db1d74418e98267a11129c9c37704826 100644 (file)
--- a/print.c
+++ b/print.c
@@ -1073,7 +1073,7 @@ static const print_stream_ops_t print_text_ops = {
 };
 
 static print_stream_t *
-print_stream_text_allow(int to_file, FILE *fh)
+print_stream_text_alloc(int to_file, FILE *fh)
 {
        print_stream_t *stream;
        output_text *output;
@@ -1097,13 +1097,13 @@ print_stream_text_new(int to_file, const char *dest)
        if (fh == NULL)
                return NULL;
 
-       return print_stream_text_allow(to_file, fh);
+       return print_stream_text_alloc(to_file, fh);
 }
 
 print_stream_t *
 print_stream_text_stdio_new(FILE *fh)
 {
-       return print_stream_text_allow(TRUE, fh);
+       return print_stream_text_alloc(TRUE, fh);
 }
 
 typedef struct {