aboutsummaryrefslogtreecommitdiff
path: root/japanese/slirc/files/patch-init.sl
blob: d2cc27c11e39aefb5c06dd643b5ab915ccf56b9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- scripts/init.sl.orig	Sun Aug 22 03:22:41 1999
+++ scripts/init.sl	Sat Jan  6 21:23:30 2001
@@ -56,7 +56,7 @@
 		 return;
 	 }
 	 variable w = vf_write(irc_server, st);
-   if (w == strlen(st)) return;
+   if (w >= strlen(st)) return;
    irc_Inff("incomplete server write: %d/%d",w,strlen(st));
 %  () = fflush(irc_server);
 }