Merge branch 'master' into wdk
This commit is contained in:
commit
34dace46af
|
@ -1716,7 +1716,7 @@ exec_data (GIOChannel *source, GIOCondition condition, struct nbexec *s)
|
||||||
rest = buf;
|
rest = buf;
|
||||||
if (*rest) {
|
if (*rest) {
|
||||||
s->buffill = len - (rest - buf); /* = strlen(rest) */
|
s->buffill = len - (rest - buf); /* = strlen(rest) */
|
||||||
s->linebuf = malloc(s->buffill);
|
s->linebuf = malloc(s->buffill + 1);
|
||||||
memcpy(s->linebuf, rest, s->buffill);
|
memcpy(s->linebuf, rest, s->buffill);
|
||||||
*rest = '\0';
|
*rest = '\0';
|
||||||
len -= s->buffill; /* possibly 0 */
|
len -= s->buffill; /* possibly 0 */
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "xchat.h"
|
#include "xchat.h"
|
||||||
#include <glib/ghash.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include "cfgfiles.h"
|
#include "cfgfiles.h"
|
||||||
#include "fe.h"
|
#include "fe.h"
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "xchat.h"
|
#include "xchat.h"
|
||||||
#include <glib/ghash.h>
|
#include <glib.h>
|
||||||
#include "cfgfiles.h"
|
#include "cfgfiles.h"
|
||||||
#include "chanopt.h"
|
#include "chanopt.h"
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include "xchat.h"
|
#include "xchat.h"
|
||||||
#include "xchatc.h"
|
#include "xchatc.h"
|
||||||
#include <glib/gmarkup.h>
|
#include <glib.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "../../config.h"
|
#include "../../config.h"
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
#include "../../config.h"
|
#include "../../config.h"
|
||||||
|
|
||||||
#include <glib/gslist.h>
|
#include <glib.h>
|
||||||
#include <glib/glist.h>
|
|
||||||
#include <glib/gutils.h>
|
|
||||||
#include <glib/giochannel.h>
|
|
||||||
#include <glib/gstrfuncs.h>
|
|
||||||
#include <time.h> /* need time_t */
|
#include <time.h> /* need time_t */
|
||||||
|
|
||||||
#ifndef XCHAT_H
|
#ifndef XCHAT_H
|
||||||
|
|
Loading…
Reference in New Issue