[xdebug-dev] xdebug xdebug/debugclient/main.c - Added basic support for <stream> type server packets.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Tue, 3 Apr 2007 22:26:36 +0200

Date: Tue Apr 3 22:26:35 CEST 2007
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- Added basic support for <stream> type server packets.

Modified files:
           xdebug/debugclient/main.c (version: 1.36)

[FILE: /xdebug/debugclient/main.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- xdebug/debugclient/main.c:1.35 Thu Dec 28 21:58:39 2006 GMT
+++ xdebug/debugclient/main.c Tue Apr 03 18:26:35 2007 GMT
@@ -50,7 +50,7 @@
 #define MSG_NOSIGNAL 0
 #endif
 
-#define DEBUGCLIENT_VERSION "0.9.1"
+#define DEBUGCLIENT_VERSION "0.10.0"
 #define DEFAULT_PORT 9000
 
 #ifdef HAVE_LIBEDIT
@@ -160,7 +160,7 @@
 
         /* Display copyright notice and version number */
         printf("Xdebug Simple DBGp client (%s)\n", DEBUGCLIENT_VERSION);
- printf("Copyright 2002-2006 by Derick Rethans.\n");
+ printf("Copyright 2002-2007 by Derick Rethans.\n");
 #ifdef HAVE_LIBEDIT
         printf("- libedit support: enabled\n");
 #endif
@@ -250,6 +250,7 @@
                 while ((buffer = fd_read_line_delim(fd, &cxt, FD_RL_SOCKET, '\0', &length)) > 0) {
                         buffer = fd_read_line_delim(fd, &cxt, FD_RL_SOCKET, '\0', &length);
                         printf ("%s\n", buffer);
+ if (strstr(buffer, "<stream") == NULL)
                         {
                                 /* The server requires a new command */
 
Received on Tue Apr 03 2007 - 22:26:41 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST