mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-24 20:24:16 +00:00
properly detect unterminated
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13438 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
c8d0cea3f2
commit
531e0f2d15
2 files changed
+13
-4
No files matched your search
+1
-1
@@ -261,7 +261,7 @@ SWITCH_DECLARE(char *) switch_find_end_paren(const char *s, char open, char clos
|
||||
}
|
||||
}
|
||||
|
||||
return (char *) e;
|
||||
return (e && *e == close) ? (char *) e : NULL;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(switch_size_t) switch_fd_read_line(int fd, char *buf, switch_size_t len)
|
||||
|
||||
Reference in new issue
Block a user