[libss7-commits] mattf: trunk r172 - /trunk/isup.c

SVN commits to the libss7 project libss7-commits at lists.digium.com
Wed May 28 09:46:45 CDT 2008


Author: mattf
Date: Wed May 28 09:46:45 2008
New Revision: 172

URL: http://svn.digium.com/view/libss7?view=rev&rev=172
Log:
jip_transmit is a FUNC_SEND, not FUNC_RECV.  Also, since jip_number is a static field, we shouldn't have to check for it's existance before we check to see if something is there

Modified:
    trunk/isup.c

Modified: trunk/isup.c
URL: http://svn.digium.com/view/libss7/trunk/isup.c?view=diff&rev=172&r1=171&r2=172
==============================================================================
--- trunk/isup.c (original)
+++ trunk/isup.c Wed May 28 09:46:45 2008
@@ -1140,11 +1140,11 @@
 	return len;
 }
 
-static FUNC_RECV(jip_transmit)
+static FUNC_SEND(jip_transmit)
 { 
 	int oddeven, datalen;
 	
-	if  (c->jip_number && c->jip_number[0]) {
+	if  (c->jip_number[0]) {
 		isup_put_number(&parm[0], c->jip_number, &datalen, &oddeven);
 		return datalen;
 	}




More information about the libss7-commits mailing list