]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4691 gsmopen: patch from Ivan Mironov allowing for longer device names, useful...
authorGiovanni Maruzzelli <gmaruzz@gmail.com>
Tue, 6 Nov 2012 11:24:17 +0000 (12:24 +0100)
committerGiovanni Maruzzelli <gmaruzz@gmail.com>
Tue, 6 Nov 2012 11:24:17 +0000 (12:24 +0100)
src/mod/endpoints/mod_gsmopen/gsmopen.h

index b5404ae6a9e9293a2c7ae29b7a900182de6ac0e2..af17a9f4167d36ac701fe195846285cf8b39c2a4 100644 (file)
@@ -331,7 +331,7 @@ struct private_object {
        unsigned long ib_failed_calls;
        unsigned long ob_failed_calls;
 
-       char controldevice_name[50];    /*!< \brief name of the serial device controlling the interface, possibly none */
+       char controldevice_name[512];   /*!< \brief name of the serial device controlling the interface, possibly none */
        int controldevprotocol;         /*!< \brief which protocol is used for serial control of this interface */
        char controldevprotocolname[50];        /*!< \brief name of the serial device controlling protocol, one of "at" "fbus2" "no_serial" "alsa_voicemodem" */
        int controldevfd;                       /*!< \brief serial controlling file descriptor for this interface */
@@ -469,7 +469,7 @@ struct private_object {
        int network_creg_not_supported;
        char creg[128];
 
-       char controldevice_audio_name[50];
+       char controldevice_audio_name[512];
        int controldev_audio_fd;
        int controldevice_audio_speed;
        int controldev_audio_dead;