WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
GNUNET_break (0);
*response_code = 0;
}
- GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
- "Did NOT detect response as JSON\n");
+ if (0 != db->buf_size)
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "Did NOT detect response as JSON\n");
return NULL;
}
json = NULL;