Skip to content

Commit

Permalink
bad pointer test
Browse files Browse the repository at this point in the history
  • Loading branch information
petersilva committed Dec 18, 2024
1 parent 5c0aaee commit 7e09e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sr_post.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ void sr_post_message(struct sr_context *sr_c, struct sr_message_s *m)
if (sr_c->cfg->post_broker->exchangeSplit > 0) {
int tot=0;
char *basis=NULL;
if ( m->relPath ) { basis=m->relPath; }
if ( *(m->relPath) ) { basis=m->relPath; }
// else if (m->retrievePath) { basis=m->retrievePath; }

tot=0;
Expand Down

0 comments on commit 7e09e4c

Please sign in to comment.