-
authorhackbard <hackbard>
Thu, 9 Jan 2003 00:25:39 +0000 (00:25 +0000)
committerhackbard <hackbard>
Thu, 9 Jan 2003 00:25:39 +0000 (00:25 +0000)
dmsd.c

diff --git a/dmsd.c b/dmsd.c
index 6154927..b8f1dad 100644 (file)
--- a/dmsd.c
+++ b/dmsd.c
@@ -28,7 +28,7 @@ int main(int argc,char *argv[]) {
   int status,recvd_bytes;
 
   if(argc!=4) {
-    printf("usage: %s <video pid> <audio pid> <dbox ip address>\n",argv[1]);
+    printf("usage: %s <video pid> <audio pid> <dbox ip address>\n",argv[0]);
     return -1;
   }
 
@@ -60,6 +60,9 @@ int main(int argc,char *argv[]) {
   }
 
   dprintf(v_fd,"GET /%x HTTP/1.0\r\n\r\n",vpid);
+  printf("debug: GET /%x HTTP/1.0\r\n\r\nwritten to video fd\n",vpid);
+  //dprintf(v_fd,"GET /%x",vpid);
+  //printf("debug: GET /%x\nwritten to video fd\n",vpid);
 
   status=1; 
   while(status) {