Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silence assertion failure on '/part' #348

Merged
merged 2 commits into from
Jan 23, 2022

Conversation

progval
Copy link
Member

@progval progval commented Jan 22, 2022

I get this error in the console when using '/part' with no argument:

** (srain:1402455): CRITICAL **: 15:14:11.703: get_quote_arg: assertion 'ptr && arg && next' failed

because ptr is NULL.

This extra check avoids it.

I get this error in the console when using '/part' with no argument:

```
** (srain:1402455): CRITICAL **: 15:14:11.703: get_quote_arg: assertion 'ptr && arg && next' failed
```

because `ptr` is NULL.

This extra check avoids it.
src/lib/command.c Outdated Show resolved Hide resolved
@SilverRainZ SilverRainZ added this to the 1.4 milestone Jan 23, 2022
@SilverRainZ SilverRainZ merged commit ddda0fd into SrainApp:master Jan 23, 2022
@progval progval deleted the part-assertion branch January 23, 2022 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants