[Asterisk-code-review] chan ooh323: Fix confusing indentation warning (asterisk[15])

Sean Bright asteriskteam at digium.com
Fri Sep 1 13:17:08 CDT 2017


Sean Bright has uploaded this change for review. ( https://gerrit.asterisk.org/6378


Change subject: chan_ooh323: Fix confusing indentation warning
......................................................................

chan_ooh323: Fix confusing indentation warning

ASTERISK-27177 #close
Reported by: Tzafrir Cohen

Change-Id: I40311c404edb2302a7543ad5ca7a06b2a38f2d97
---
M addons/ooh323c/src/ooSocket.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/78/6378/1

diff --git a/addons/ooh323c/src/ooSocket.c b/addons/ooh323c/src/ooSocket.c
index 5f8f0f3..6032dd0 100644
--- a/addons/ooh323c/src/ooSocket.c
+++ b/addons/ooh323c/src/ooSocket.c
@@ -384,7 +384,7 @@
    if (*pNewSocket <= 0) return ASN_E_INVSOCKET;
 
    if (destAddr != 0) {
-      if ((host = ast_sockaddr_stringify_addr(&addr)) != NULL);
+      if ((host = ast_sockaddr_stringify_addr(&addr)) != NULL)
       	strncpy(destAddr, host, strlen(host));
    }
    if (destPort != 0)

-- 
To view, visit https://gerrit.asterisk.org/6378
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: I40311c404edb2302a7543ad5ca7a06b2a38f2d97
Gerrit-Change-Number: 6378
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170901/5d0cdf8f/attachment.html>


More information about the asterisk-code-review mailing list