[Redbutton-devel] SF.net SVN: redbutton: [256] redbutton-download/trunk/command.c
Brought to you by:
skilvington
|
From: <ski...@us...> - 2007-03-25 08:35:08
|
Revision: 256
http://svn.sourceforge.net/redbutton/?rev=256&view=rev
Author: skilvington
Date: 2007-03-25 01:35:04 -0700 (Sun, 25 Mar 2007)
Log Message:
-----------
terminate assoc output
Modified Paths:
--------------
redbutton-download/trunk/command.c
Modified: redbutton-download/trunk/command.c
===================================================================
--- redbutton-download/trunk/command.c 2007-03-23 13:51:06 UTC (rev 255)
+++ redbutton-download/trunk/command.c 2007-03-25 08:35:04 UTC (rev 256)
@@ -158,7 +158,6 @@
SEND_RESPONSE(200, "OK");
- /* if this is ever used by rb-browser, you will need to send a length first */
fprintf(client, "Tag\tPID\tType\n");
fprintf(client, "===\t===\t====\n");
@@ -170,6 +169,9 @@
for(i=0; i<car->assoc.nassocs; i++)
fprintf(client, "%u\t%u\t%u\n", car->assoc.sids[i], car->assoc.pids[i], car->assoc.types[i]);
+ /* terminator */
+ fprintf(client, ".\n");
+
return false;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|