[Getdata-commits] SF.net SVN: getdata:[925] trunk/defile/bin/net.c
Scientific Database Format
Brought to you by:
ketiltrout
|
From: <ket...@us...> - 2014-10-01 00:09:25
|
Revision: 925
http://sourceforge.net/p/getdata/code/925
Author: ketiltrout
Date: 2014-10-01 00:09:08 +0000 (Wed, 01 Oct 2014)
Log Message:
-----------
ANother networking bug
Modified Paths:
--------------
trunk/defile/bin/net.c
Modified: trunk/defile/bin/net.c
===================================================================
--- trunk/defile/bin/net.c 2014-10-01 00:04:49 UTC (rev 924)
+++ trunk/defile/bin/net.c 2014-10-01 00:09:08 UTC (rev 925)
@@ -1172,7 +1172,7 @@
+ ((df->mode_flags & DF_MODE_RDEBUG_O) ? sizeof(" -d o") : 0)
+ ((df->mode_flags & DF_MODE_RDEBUG_T) ? sizeof(" -d t") : 0)
+ (!(df->mode_flags & DF_MODE_FOLLOW) ? sizeof(" +f") : 0)
- + ((df->offset > 0) ? sizeof(" -o ") + 1
+ + ((df->offset > 0) ? sizeof(" -s ") + 1
+ (int)(log(df->offset) * M_LOG10E) : 0)
+ (df->type ? sizeof(" -t ") + strlen(df->type) : 0)
;
@@ -1198,7 +1198,7 @@
if (!(df->mode_flags & DF_MODE_FOLLOW))
wordlen += sprintf(cmd[nwords] + wordlen, " +f");
if (df->offset)
- wordlen += sprintf(cmd[nwords] + wordlen, " -o %lli", df->offset);
+ wordlen += sprintf(cmd[nwords] + wordlen, " -s %lli", df->offset);
if (df->type)
wordlen += sprintf(cmd[nwords] + wordlen, " -t %s", df->type);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|