Fix misleading indent, add brackets
This commit is contained in:
parent
4b7cd6c994
commit
57cfa3324a
|
@ -25,11 +25,11 @@ signed int Assm_mesg(char* buf, IRC_Message* in, size_t len)
|
||||||
unsigned int cnt;
|
unsigned int cnt;
|
||||||
signed int ret;
|
signed int ret;
|
||||||
#ifdef UIRC_IRCV3
|
#ifdef UIRC_IRCV3
|
||||||
if ((ret = Assm_tags(pos, &in->tags, len - (pos - buf))) >= 0)
|
if ((ret = Assm_tags(pos, &in->tags, len - (pos - buf))) >= 0) {
|
||||||
pos += ret;
|
pos += ret;
|
||||||
if (!safe_charcpy(&pos, ' ', len - (pos - buf)))
|
if (!safe_charcpy(&pos, ' ', len - (pos - buf)))
|
||||||
return ERR_UIRC_BUFFER_ERR;
|
return ERR_UIRC_BUFFER_ERR;
|
||||||
else
|
} else
|
||||||
return ret;
|
return ret;
|
||||||
#endif
|
#endif
|
||||||
if (in->name.nick != NULL || in->name.host != NULL) {
|
if (in->name.nick != NULL || in->name.host != NULL) {
|
||||||
|
|
Reference in New Issue