Update communication.c

Redmine#3872