set standard properties on all non-binary files
[asterisk/asterisk.git] / udptl.c
diff --git a/udptl.c b/udptl.c
index d19bb89..0605892 100644 (file)
--- a/udptl.c
+++ b/udptl.c
@@ -29,7 +29,7 @@
 
 #include "asterisk.h"
 
-ASTERISK_FILE_VERSION(__FILE__, "$Revision: 8038 $")
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include "asterisk/udptl.h"
 #include "asterisk/frame.h"
@@ -971,7 +971,7 @@ static struct ast_udptl_protocol *get_proto(struct ast_channel *chan)
 
        cur = protos;
        while (cur) {
-               if (cur->type == chan->type)
+               if (cur->type == chan->tech->type)
                        return cur;
                cur = cur->next;
        }