Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 270682
Collapse All | Expand All

(-)src/client.c.org (-3 / +3 lines)
Lines 1620-1626 Link Here
1620
1620
1621
1621
1622
static gint
1622
static gint
1623
getline(gint fd, gchar *buf, gint len)
1623
getline_(gint fd, gchar *buf, gint len)
1624
	{
1624
	{
1625
	fd_set			read_fds;
1625
	fd_set			read_fds;
1626
	struct timeval	tv;
1626
	struct timeval	tv;
Lines 1714-1720 Link Here
1714
1714
1715
	while (1)
1715
	while (1)
1716
		{
1716
		{
1717
		rs=getline(fd, buf, sizeof(buf));
1717
		rs=getline_(fd, buf, sizeof(buf));
1718
        if(rs<0)
1718
        if(rs<0)
1719
            return FALSE;
1719
            return FALSE;
1720
		if (!strcmp(buf, "</gkrellmd_setup>"))
1720
		if (!strcmp(buf, "</gkrellmd_setup>"))
Lines 1732-1738 Link Here
1732
	table_size = sizeof(update_table) / sizeof(KeyTable);
1732
	table_size = sizeof(update_table) / sizeof(KeyTable);
1733
	while (1)
1733
	while (1)
1734
		{
1734
		{
1735
		rs=getline(fd, buf, sizeof(buf));
1735
		rs=getline_(fd, buf, sizeof(buf));
1736
        if(rs<0)
1736
        if(rs<0)
1737
            return FALSE;
1737
            return FALSE;
1738
		if (!strcmp(buf, "</initial_update>"))
1738
		if (!strcmp(buf, "</initial_update>"))

Return to bug 270682