move ownership of LTC I/O ports to Session, and manage as IO objects
[ardour.git] / libs / ardour / linux_vst_info_file.cc
index 4372d1ada59db712a81309a6d55d02dad7e80cfd..6eabae6e660cb7c3fb75db6b9afe39363add8d34 100644 (file)
@@ -49,7 +49,7 @@ read_string (FILE *fp)
 }
 
 /** Read an integer value from a line in fp into n,
- *  @return true on success, false on failure.
+ *  @return true on failure, false on success.
  */
 static bool
 read_int (FILE* fp, int* n)
@@ -58,7 +58,7 @@ read_int (FILE* fp, int* n)
 
        char* p = fgets (buf, MAX_STRING_LEN, fp);
        if (p == 0) {
-               return false;
+               return true;
        }
 
        return (sscanf (p, "%d", n) != 1);