Navigation Menu

Skip to content

Commit

Permalink
Revert "Problem: zyre testing code segfaults at zyre_event_print"
Browse files Browse the repository at this point in the history
  • Loading branch information
sappo committed Oct 27, 2015
1 parent 772df5c commit e6809ea
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/zyre_event.c
Expand Up @@ -173,19 +173,13 @@ zyre_event_print (zyre_event_t *self)
case ZYRE_EVENT_SHOUT:
zsys_info (" - type=SHOUT");
zsys_info (" - message:");
if (self->msg)
zmsg_print (self->msg);
else
zmsg_print ("null");
zmsg_print (self->msg);
break;

case ZYRE_EVENT_WHISPER:
zsys_info (" - type=WHISPER");
zsys_info (" - message:");
if (self->msg)
zmsg_print (self->msg);
else
zmsg_print ("null");
zmsg_print (self->msg);
break;
case ZYRE_EVENT_EVASIVE:
zsys_info (" - type=EVASIVE");
Expand Down

0 comments on commit e6809ea

Please sign in to comment.