Skip to content
Snippets Groups Projects
  1. Nov 23, 2017
  2. Nov 22, 2017
  3. Nov 21, 2017
  4. Nov 20, 2017
  5. Nov 19, 2017
    • Corey Farrell's avatar
      Build: Fix OSX build issues. · b4f7f825
      Corey Farrell authored
      OSX does not support 'readlink -f' or 'sed -r'.  Replace readlink with
      the GNU make macro 'realpath'.  Replace sed with grep in one place, cut
      in the other.
      
      ASTERISK-27332
      
      Change-Id: I5d34ecca905384decb22ead45c913ae5e8aff748
      b4f7f825
    • Corey Farrell's avatar
      Build: Fix issues building without SSL. · 999e0c17
      Corey Farrell authored
      * Fix conditional in libasteriskssl.
      * Use variables produced by configure to link the SSL and uuid libraries
        into libasteriskpj.so instead of hard-coding them.
      
      ASTERISK-27431
      
      Change-Id: I3977931fd3ef8c4e4376349ccddb354eb839b58d
      999e0c17
    • Corey Farrell's avatar
      res_pjsip: Fix warning by deferring implicit type cast. · 53f42cc0
      Corey Farrell authored
      Mac doesn't like the comparison of -1 to an enum, so store the result of
      ast_sip_str_to_dtmf to an int so we can check for the negative return
      value.  ast_sip_str_to_dtmf returns an int so this is only delaying the
      implicit type cast.
      
      Change-Id: I0c262c1719ee951aae1f437d733a301cf5f8ad29
      53f42cc0
    • Corey Farrell's avatar
      tests: Fix warnings found on Mac. · 75cb4037
      Corey Farrell authored
      test_pbx used raise without explicitly including signal.h.  On Mac for
      some reason nothing else includes it.
      
      test_logger checked if an unsigned int was negative.  Switch the
      variable to 'int' so that error check can be effective.
      
      Change-Id: Ie1db5dd1818ac25cc2ae41b644f848b5865b1362
      75cb4037
    • Corey Farrell's avatar
      res_snmp: Declare RONLY if net-snmp headers do not. · 83a2c4d2
      Corey Farrell authored
      Some net-snmp builds do not provide the RONLY declare, only
      NETSNMP_OLDAPI_RONLY.  Map RONLY to NETSNMP_OLDAPI_RONLY to get around
      this error.
      
      Change-Id: Ida5c7ad9406515825485c4d3b4a34fd6ad0da577
      83a2c4d2
    • Corey Farrell's avatar
      res_fax: Remove checks for unsigned values being >= 0. · 5a899fc5
      Corey Farrell authored
      It's impossible for gwtimeout or fdtimeout to be less than 0 because
      they are unsigned int's.  Remove checks and unreachable branches.
      
      Change-Id: Ib2286960621e6ee245e40013c84986143302bc78
      5a899fc5
    • Corey Farrell's avatar
      iostream: Fix ast_iostream_printf declaration. · b4862e46
      Corey Farrell authored
      This adds the printf attribute and changes 'fmt' from 'const void *' to
      'const char *'.  This resolves a warning from some compiler for
      vsnprintf needing a literal string for format.
      
      Change-Id: I71c33a8262590042ee451e1146760c10bb22fb78
      b4862e46
Loading