From f2a9518b5cea049007701300f723fd874b1aca7a Mon Sep 17 00:00:00 2001 From: Thomas Keller Date: Sat, 28 Aug 2010 22:47:37 +0000 Subject: [PATCH] single quoted newlines of course will not work here... stupid me --- src/IDF/Scm/Monotone/Usher.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/IDF/Scm/Monotone/Usher.php b/src/IDF/Scm/Monotone/Usher.php index 9891555..5be2e8e 100644 --- a/src/IDF/Scm/Monotone/Usher.php +++ b/src/IDF/Scm/Monotone/Usher.php @@ -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);