mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
modules: Use pa_streq instead of strcmp.
This commit is contained in:
parent
e0c16af551
commit
e5954aca8e
19 changed files with 45 additions and 45 deletions
|
|
@ -187,7 +187,7 @@ static void line_callback(pa_ioline *line, const char *s, void *userdata) {
|
|||
*s2p = '\0';
|
||||
s2p -= 1;
|
||||
}
|
||||
if (c->waiting && 0 == strcmp("RTSP/1.0 200 OK", s2)) {
|
||||
if (c->waiting && pa_streq(s2, "RTSP/1.0 200 OK")) {
|
||||
c->waiting = 0;
|
||||
if (c->response_headers)
|
||||
pa_headerlist_free(c->response_headers);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue