[Redbutton-devel] SF.net SVN: redbutton: [299] redbutton-download/trunk/channels.c
Brought to you by:
skilvington
|
From: <ski...@us...> - 2007-04-28 20:17:10
|
Revision: 299
http://svn.sourceforge.net/redbutton/?rev=299&view=rev
Author: skilvington
Date: 2007-04-28 13:17:02 -0700 (Sat, 28 Apr 2007)
Log Message:
-----------
polarity is a char not a string
Modified Paths:
--------------
redbutton-download/trunk/channels.c
Modified: redbutton-download/trunk/channels.c
===================================================================
--- redbutton-download/trunk/channels.c 2007-04-28 20:13:54 UTC (rev 298)
+++ redbutton-download/trunk/channels.c 2007-04-28 20:17:02 UTC (rev 299)
@@ -353,7 +353,7 @@
while(!feof(_channels))
{
if(fgets(line, sizeof(line), _channels) == NULL
- || sscanf(line, "%*[^:]:%u:%1[^:]:%u:%u:%*[^:]:%*[^:]:%u", &freq, pol, sat_no, &sr, &id) != 5
+ || sscanf(line, "%*[^:]:%u:%c:%u:%u:%*[^:]:%*[^:]:%u", &freq, pol, sat_no, &sr, &id) != 5
|| id != service_id)
continue;
/* chop off trailing \n */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|