--- loncom/lond 2004/03/02 11:33:03 1.178.2.6 +++ loncom/lond 2004/03/08 21:54:05 1.178.2.7 @@ -2,7 +2,7 @@ # The LearningOnline Network # lond "LON Daemon" Server (port "LOND" 5663) # -# $Id: lond,v 1.178.2.6 2004/03/02 11:33:03 foxr Exp $ +# $Id: lond,v 1.178.2.7 2004/03/08 21:54:05 foxr Exp $ # # Copyright Michigan State University Board of Trustees # @@ -53,7 +53,7 @@ my $DEBUG = 1; # Non zero to ena my $status=''; my $lastlog=''; -my $VERSION='$Revision: 1.178.2.6 $'; #' stupid emacs +my $VERSION='$Revision: 1.178.2.7 $'; #' stupid emacs my $remoteVERSION; my $currenthostid; my $currentdomainid; @@ -1360,7 +1360,7 @@ sub IncrementUserValueHandler { my $cmd = shift; my $tail = shift; my $client = shift; - my $userinput = shift; + my $userinput = "$cmd:$tail"; my ($udom,$uname,$namespace,$what) =split(/:/,$tail); $namespace=~s/\//\_/g; @@ -1391,11 +1391,11 @@ sub IncrementUserValueHandler { Reply( $client, "ok\n", $userinput); } else { Failure($client, "error: ".($!+0)." untie(GDBM) failed ". - "while attempting put\n", $userinput); + "while attempting inc\n", $userinput); } } else { Failure($client, "error: ".($!+0)." tie(GDBM) Failed ". - "while attempting put\n", $userinput); + "while attempting inc\n", $userinput); } } else { Failure($client, "refused\n", $userinput);