[LON-CAPA-cvs] cvs: loncom / lond
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 24 Aug 2004 21:25:09 -0000
albertel Tue Aug 24 17:25:09 2004 EDT
Modified files:
/loncom lond
Log:
- style police
Index: loncom/lond
diff -u loncom/lond:1.240 loncom/lond:1.241
--- loncom/lond:1.240 Tue Aug 24 16:59:15 2004
+++ loncom/lond Tue Aug 24 17:25:08 2004
@@ -2,7 +2,7 @@
# The LearningOnline Network
# lond "LON Daemon" Server (port "LOND" 5663)
#
-# $Id: lond,v 1.240 2004/08/24 20:59:15 banghart Exp $
+# $Id: lond,v 1.241 2004/08/24 21:25:08 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -57,7 +57,7 @@
my $status='';
my $lastlog='';
-my $VERSION='$Revision: 1.240 $'; #' stupid emacs
+my $VERSION='$Revision: 1.241 $'; #' stupid emacs
my $remoteVERSION;
my $currenthostid="default";
my $currentdomainid;
@@ -1909,9 +1909,9 @@
my $file=$udir.'/userfiles/'.$ufile;
if (-e $file) {
if (-f $file){
- unlink($file);
- }elsif(-d $file){
- rmdir($file);
+ unlink($file);
+ } elsif(-d $file) {
+ rmdir($file);
}
if (-e $file) {
&Failure($client, "failed\n", "$cmd:$tail");