$OpenBSD: patch-liveMedia_RTSPClient_cpp,v 1.4 2018/04/10 21:15:33 naddy Exp $

Index: liveMedia/RTSPClient.cpp
--- liveMedia/RTSPClient.cpp.orig
+++ liveMedia/RTSPClient.cpp
@@ -837,7 +837,7 @@ Boolean RTSPClient::checkForHeader(char const* line, c
   // The line begins with the desired header name.  Trim off any whitespace, and return the header parameters:
   unsigned paramIndex = headerNameLength;
   while (line[paramIndex] != '\0' && (line[paramIndex] == ' ' || line[paramIndex] == '\t')) ++paramIndex;
-  if (&line[paramIndex] == '\0') return False; // the header is assumed to be bad if it has no parameters
+  if (line[paramIndex] == '\0') return False; // the header is assumed to be bad if it has no parameters
 
   headerParams = &line[paramIndex];
   return True;
