Skip to content

Commit

Permalink
presence: clang-format for coherent indentation and coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxmaniac committed May 18, 2023
1 parent c38af22 commit 197f64f
Show file tree
Hide file tree
Showing 11 changed files with 357 additions and 336 deletions.
8 changes: 4 additions & 4 deletions src/modules/presence/event_list.c
Expand Up @@ -327,9 +327,9 @@ pres_ev_t *search_event(event_t *event)
while(pres_ev) {
if((pres_ev->evp->type == event->type && event->type != EVENT_OTHER)
|| (pres_ev->evp->name.len == event->name.len
&& strncasecmp(pres_ev->evp->name.s, event->name.s,
pres_ev->evp->name.len)
== 0)) {
&& strncasecmp(pres_ev->evp->name.s, event->name.s,
pres_ev->evp->name.len)
== 0)) {
if(event->params.list == NULL
&& pres_ev->evp->params.list == NULL) {
return pres_ev;
Expand Down Expand Up @@ -372,7 +372,7 @@ int search_event_params(event_t *ev, event_t *searched_ev)
if(p->body.s != 0 && ps->body.s != 0
&& p->body.len == ps->body.len
&& (strncmp(p->body.s, ps->body.s, ps->body.len)
== 0)) {
== 0)) {
found = 1;
break;
}
Expand Down

0 comments on commit 197f64f

Please sign in to comment.