single quoted newlines of course will not work here... stupid me

This commit is contained in:
Thomas Keller 2010-08-28 22:47:37 +00:00
parent 593240b420
commit f2a9518b5c

View File

@ -215,7 +215,7 @@ class IDF_Scm_Monotone_Usher
);
}
fwrite($sock, 'USERPASS '.$uc['user'].' '.$uc['pass'].'\n');
fwrite($sock, 'USERPASS '.$uc['user'].' '.$uc['pass']."\n");
if (feof($sock)) {
throw new IDF_Scm_Exception(
'usher closed the connection - probably wrong admin '.
@ -223,7 +223,7 @@ class IDF_Scm_Monotone_Usher
);
}
fwrite($sock, $cmd.'\n');
fwrite($sock, $cmd."\n");
$out = '';
while (!feof($sock)) {
$out .= fgets($sock);