]> git.notmuchmail.org Git - notmuch/blobdiff - debugger.c
Merge branch 'release'
[notmuch] / debugger.c
index e8b9378e73c31ce327bf93888052d3893223d52f..5cb38ac444e35d774152b64973790c4fd5ec7f4d 100644 (file)
@@ -13,7 +13,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see http://www.gnu.org/licenses/ .
+ * along with this program.  If not, see https://www.gnu.org/licenses/ .
  *
  * Author: Chris Wilson <chris@chris-wilson.co.uk>
  */
 #define RUNNING_ON_VALGRIND 0
 #endif
 
-notmuch_bool_t
+bool
 debugger_is_active (void)
 {
     char buf[1024];
 
     if (RUNNING_ON_VALGRIND)
-       return TRUE;
+       return true;
 
     sprintf (buf, "/proc/%d/exe", getppid ());
     if (readlink (buf, buf, sizeof (buf)) != -1 &&
        strncmp (basename (buf), "gdb", 3) == 0)
     {
-       return TRUE;
+       return true;
     }
 
-    return FALSE;
+    return false;
 }