[asterisk-commits] may: branch may/smpp r411581 - in /team/may/smpp/trunk: ./ addons/smpp/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 31 13:22:44 CDT 2014


Author: may
Date: Mon Mar 31 13:22:40 2014
New Revision: 411581

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=411581
Log:
fix compile with developer mode

Modified:
    team/may/smpp/trunk/addons/smpp/gsm.c
    team/may/smpp/trunk/addons/smpp/gsm.h
    team/may/smpp/trunk/makeopts.in

Modified: team/may/smpp/trunk/addons/smpp/gsm.c
URL: http://svnview.digium.com/svn/asterisk/team/may/smpp/trunk/addons/smpp/gsm.c?view=diff&rev=411581&r1=411580&r2=411581
==============================================================================
--- team/may/smpp/trunk/addons/smpp/gsm.c (original)
+++ team/may/smpp/trunk/addons/smpp/gsm.c Mon Mar 31 13:22:40 2014
@@ -1207,11 +1207,11 @@
 {
     bytes_t   end    = data + datalen;
     bytes_t   footer = end - ADN_FOOTER_SIZE;
-    int       ton    = 0x81;
+    // int       ton    = 0x81;
     cbytes_t  number = (cbytes_t) rec->adn.number;
 
     if (number[0] == '+') {
-        ton     = 0x91;
+        // ton     = 0x91;
         number += 1;
     }
     footer[0] = (strlen((const char*)number)+1)/2 + 1;

Modified: team/may/smpp/trunk/addons/smpp/gsm.h
URL: http://svnview.digium.com/svn/asterisk/team/may/smpp/trunk/addons/smpp/gsm.h?view=diff&rev=411581&r1=411580&r2=411581
==============================================================================
--- team/may/smpp/trunk/addons/smpp/gsm.h (original)
+++ team/may/smpp/trunk/addons/smpp/gsm.h Mon Mar 31 13:22:40 2014
@@ -98,6 +98,8 @@
    returns the number of utf8 bytes */
 extern int      utf8_from_gsm8( cbytes_t  src, int  count, bytes_t  utf8 );
 
+int utf8_write( bytes_t  utf8, int  offset, int  v );
+
 
 /** UCS-2 and GSM Alphabet
  **
@@ -192,6 +194,7 @@
 extern void      gsm_rope_add_c( GsmRope  rope, char  c );
 extern void      gsm_rope_add( GsmRope  rope, const void*  str, int  len );
 extern void*     gsm_rope_reserve( GsmRope  rope, int  len );
+extern int       gsm_rope_ensure( GsmRope  rope, int  new_count );	
 
 #define  PHONE_PREFIX "1555521"
 

Modified: team/may/smpp/trunk/makeopts.in
URL: http://svnview.digium.com/svn/asterisk/team/may/smpp/trunk/makeopts.in?view=diff&rev=411581&r1=411580&r2=411581
==============================================================================
--- team/may/smpp/trunk/makeopts.in (original)
+++ team/may/smpp/trunk/makeopts.in Mon Mar 31 13:22:40 2014
@@ -263,6 +263,9 @@
 SDL_IMAGE_INCLUDE=@SDL_IMAGE_INCLUDE@
 SDL_IMAGE_LIB=@SDL_IMAGE_LIB@
 
+SMPP34_INCLUDE=@SMPP34_INCLUDE@
+SMPP34_LIB=@SMPP34_LIB@
+
 SPANDSP_INCLUDE=@SPANDSP_INCLUDE@
 SPANDSP_LIB=@SPANDSP_LIB@
 




More information about the asterisk-commits mailing list