]> Pileus Git - vpaste/blobdiff - vpaste
Update for Vim 73 and add better spam checking
[vpaste] / vpaste
diff --git a/vpaste b/vpaste
index 62a4c609e4c9e2341fb3e413173890c1ce43ab92..99758610b1e843c150c7a6d682559ba56921a216 100755 (executable)
--- a/vpaste
+++ b/vpaste
@@ -4,9 +4,9 @@
 
 uri="http://vpaste.net/"
 if [ -f "$1" ]; then
-       out=$(curl -s -F "x=<$1" "$uri?$2")
+       out=$(curl -s -F "text=<$1" "$uri?$2")
 else
-       out=$(curl -s -F 'x=<-' "$uri?$1")
+       out=$(curl -s -F 'text=<-' "$uri?$1")
 fi
 echo "$out"
 if [ -x "`which xclip 2>/dev/null`" -a "$DISPLAY" ]; then