mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-12-04 22:11:52 +00:00
Fix building on old glib
This commit is contained in:
1 parent
bcb4eec754
commit
dd080fa6f3
1 file changed
+2
-2
@@ -146,7 +146,7 @@ identd_read_ready (GDataInputStream *in_stream, GAsyncResult *res, ident_info *i
|
|||||||
if (!local || !remote || local > G_MAXUINT16 || remote > G_MAXUINT16)
|
if (!local || !remote || local > G_MAXUINT16 || remote > G_MAXUINT16)
|
||||||
{
|
{
|
||||||
g_strlcat (buf, "ERROR : INVALID-PORT\r\n", sizeof (buf));
|
g_strlcat (buf, "ERROR : INVALID-PORT\r\n", sizeof (buf));
|
||||||
g_info ("Identd: Recieved invalid port");
|
g_debug ("Identd: Recieved invalid port");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -154,7 +154,7 @@ identd_read_ready (GDataInputStream *in_stream, GAsyncResult *res, ident_info *i
|
|||||||
if (!info->username)
|
if (!info->username)
|
||||||
{
|
{
|
||||||
g_strlcat (buf, "ERROR : NO-USER\r\n", sizeof (buf));
|
g_strlcat (buf, "ERROR : NO-USER\r\n", sizeof (buf));
|
||||||
g_info ("Identd: Recieved invalid local port");
|
g_debug ("Identd: Recieved invalid local port");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user