From 90bdff3878a7c5ba5b69c0275373cbbd3603363b Mon Sep 17 00:00:00 2001
From: Ishan Kumar Kaler <kumarkalerishan@gmail.com>
Date: Wed, 21 Apr 2021 09:40:36 +0000
Subject: [PATCH] Revert "added classname in m_obj.c"

This reverts commit be6b2692bc855230f7403e75aa53e3917d52b3b8
---
 pd/src/m_obj.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/pd/src/m_obj.c b/pd/src/m_obj.c
index 38a87cfac..725ecf425 100644
--- a/pd/src/m_obj.c
+++ b/pd/src/m_obj.c
@@ -76,9 +76,8 @@ char *type_hint(t_symbol *s, int argc, t_atom *argv, int dostof);
 
 static void inlet_wrong(t_inlet *x, t_symbol *s, int argc, t_atom *argv)
 {
-    pd_error(x->i_owner, "inlet of %s: expected '%s' but got '%s'%s",
-        (char *)class_getname(*(x->i_dest)), x->i_symfrom->s_name, s->s_name, 
-        type_hint(s, argc, argv, 1));
+    pd_error(x->i_owner, "inlet: expected '%s' but got '%s'%s",
+        x->i_symfrom->s_name, s->s_name, type_hint(s, argc, argv, 1));
 }
 
     /* forward a message to an inlet~ object */
-- 
GitLab