]> hackdaworld.org Git - my-code/dmsd.git/commitdiff
-
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 61549272f72a7604ece6a0507811e4eccfc883d0..b8f1dadb9b4cb02c1e2f8fa22f4ac5290809f0e0 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) {