Wed Oct 18 13:35:18 2006 Michael Jennings (mej)
Fixed a typo and some logic errors in libscream located by Mike Frysinger <vapier@gentoo.org>. ---------------------------------------------------------------------- SVN revision: 26691
This commit is contained in:
parent
517985c4a9
commit
3ccf45d5af
|
@ -5517,3 +5517,8 @@ Tue Sep 19 17:07:28 2006 Michael Jennings (mej)
|
|||
|
||||
libscream.c is licensed just like Eterm.
|
||||
----------------------------------------------------------------------
|
||||
Wed Oct 18 13:35:18 2006 Michael Jennings (mej)
|
||||
|
||||
Fixed a typo and some logic errors in libscream located by Mike
|
||||
Frysinger <vapier@gentoo.org>.
|
||||
----------------------------------------------------------------------
|
||||
|
|
|
@ -1125,7 +1125,7 @@ x_resource_dump(int sig)
|
|||
/* Create type atoms for future use. */
|
||||
pixmap_atom = XInternAtom(Xdisplay, "PIXMAP", False);
|
||||
gc_atom = XInternAtom(Xdisplay, "GC", False);
|
||||
gc_atom = XInternAtom(Xdisplay, "FONT", False);
|
||||
font_atom = XInternAtom(Xdisplay, "FONT", False);
|
||||
|
||||
/* Look at what *we* think our consumption is. */
|
||||
#if DEBUG >= DEBUG_MEM
|
||||
|
|
|
@ -1084,13 +1084,13 @@ ns_attach_lcl(_ns_sess ** sp)
|
|||
static int
|
||||
ns_wait_for_socket(int port)
|
||||
{
|
||||
int tmp_sock, ret;
|
||||
int tmp_sock, ret = -1;
|
||||
time_t start_time;
|
||||
|
||||
D_ESCREEN(("Waiting for forwarder to begin listening on port %d.\n", port));
|
||||
tmp_sock = socket(PF_INET, SOCK_STREAM, 6);
|
||||
start_time = time(NULL);
|
||||
if (tmp_sock > 0) {
|
||||
if (tmp_sock >= 0) {
|
||||
struct sockaddr_in addr;
|
||||
char timeout = 0;
|
||||
|
||||
|
@ -1933,7 +1933,7 @@ int
|
|||
ns_ren_disp(_ns_sess * s, int d, char *name)
|
||||
{
|
||||
char *i = NULL, *n;
|
||||
size_t l;
|
||||
size_t l = 0;
|
||||
int ret = NS_FAIL;
|
||||
|
||||
if (!s) {
|
||||
|
|
Loading…
Reference in New Issue