~ubuntu-branches/ubuntu/oneiric/irssi/oneiric

« back to all changes in this revision

Viewing changes to src/core/line-split.c

  • Committer: Bazaar Package Importer
  • Author(s): Christian Bjälevik
  • Date: 2007-04-28 02:52:01 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070428025201-2c4swxnpn4wr7fpg
Tags: 0.8.11-0ubuntu1
* New upstream release:
  - http://www.irssi.org/news/ChangeLog
* debian/{control,compat}:
  - Bump Standards.
* debian/patches/00list:
  - Disable 05upgrade-check-binary.patch, applied upstream.
  - Disable 08doublefree.patch, applied upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
int line_split(const char *data, int len, char **output, LINEBUF_REC **buffer)
91
91
{
92
92
        LINEBUF_REC *rec;
 
93
        int ret;
93
94
 
94
95
        g_return_val_if_fail(data != NULL, -1);
95
96
        g_return_val_if_fail(output != NULL, -1);
122
123
                }
123
124
        }
124
125
 
 
126
        ret = remove_newline(rec);
125
127
        *output = rec->str;
126
 
        return remove_newline(rec);
 
128
        return ret;
127
129
}
128
130
 
129
131
void line_split_free(LINEBUF_REC *buffer)