Unified · Split
| @@ -930,7 +930,8 @@ process(Oevent_list *events) · 929 unmodified lines | ||
| 930 | 930 | |
| 931 | 931 | if (t == Oevent_type_udp_string && udp >= 0) { |
| 932 | 932 | Oevent_udp_string *u = &e->udp_string; |
| 933 | − write(udp, u->chars, u->count); /* FIXME show errors */ | |
| 933 | + if(u->count > 0) | |
| 934 | + write(udp, u->chars, u->count); /* FIXME show errors */ | |
| 934 | 935 | continue; |
| 935 | 936 | } else if (t == Oevent_type_cmd_string) { |
| 936 | 937 | Oevent_cmd_string *c = &e->cmd_string; |