Update of /cvsroot/openvrml/openvrml/src/openvrml-player
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32417/src/openvrml-player
Modified Files:
player.cpp
Log Message:
Fall out of the loop if we get a linefeed even if there is additional input; any additional input would be associated with an additional request.
Index: player.cpp
===================================================================
RCS file: /cvsroot/openvrml/openvrml/src/openvrml-player/player.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** player.cpp 5 May 2007 06:09:06 -0000 1.23
--- player.cpp 21 May 2007 06:37:04 -0000 1.24
***************
*** 701,705 ****
if (c != '\n') { req_data.request_line.put(c); }
error_guard.dismiss();
! } while (g_io_channel_get_buffer_condition(source) & G_IO_IN);
if (c == '\n') {
--- 701,706 ----
if (c != '\n') { req_data.request_line.put(c); }
error_guard.dismiss();
! } while (g_io_channel_get_buffer_condition(source) & G_IO_IN
! && c != '\n');
if (c == '\n') {
|