Projects
osmocom:master
osmo-uecups
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 27
View file
commit_440a9dee42e42679055f803751d4b542483f9921.txt
Deleted
View file
commit_88982003f96d31ff28666b8016826b760614146e.txt
Added
View file
osmo-uecups_0.3.0.4.440a.dsc -> osmo-uecups_0.3.0.5.8898.dsc
Changed
@@ -2,7 +2,7 @@ Source: osmo-uecups Binary: osmo-uecups Architecture: any -Version: 0.3.0.4.440a +Version: 0.3.0.5.8898 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://osmocom.org/projects/osmo-uecups Standards-Version: 3.9.8 @@ -12,8 +12,8 @@ Package-List: osmo-uecups deb net extra arch=any Checksums-Sha1: - d7875f76c39202181e971e1434b987ccd47ec67e 29476 osmo-uecups_0.3.0.4.440a.tar.xz + 7157c66c799b48283f241f810bd98634a5a06f74 29508 osmo-uecups_0.3.0.5.8898.tar.xz Checksums-Sha256: - bf044e8ad611669490f90ca1bd0c55a28f62acfa84898d34ffa874bcdd1c7cca 29476 osmo-uecups_0.3.0.4.440a.tar.xz + bb027ab9c26a8966636d512ba476f18ff59b3538ebb055026d1bb9a3d714e6d2 29508 osmo-uecups_0.3.0.5.8898.tar.xz Files: - 58ea1cbf0fd37b48a2035d9dd1e67243 29476 osmo-uecups_0.3.0.4.440a.tar.xz + c9864a14c96d00385229b2821a998b7e 29508 osmo-uecups_0.3.0.5.8898.tar.xz
View file
osmo-uecups_0.3.0.4.440a.tar.xz/.tarball-version -> osmo-uecups_0.3.0.5.8898.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -0.3.0.4-440a +0.3.0.5-8898
View file
osmo-uecups_0.3.0.4.440a.tar.xz/daemon/cups_client.c -> osmo-uecups_0.3.0.5.8898.tar.xz/daemon/cups_client.c
Changed
@@ -85,37 +85,43 @@ talloc_free(sproc); } -/* Send JSON to a given client/connection */ -int cups_client_tx_json(struct cups_client *cc, json_t *jtx) +static int cups_client_tx_json_str(struct cups_client *cc, const char *json_str, unsigned int json_strlen) { struct msgb *msg = msgb_alloc(CUPS_MSGB_SIZE, "Tx JSON"); - char *json_str = json_dumps(jtx, JSON_SORT_KEYS); char *out; - int json_strlen; - - json_decref(jtx); - if (!json_str) { - LOGCC(cc, LOGL_ERROR, "Error encoding JSON\n"); - return 0; - } - json_strlen = strlen(json_str); - LOGCC(cc, LOGL_DEBUG, "JSON Tx '%s'\n", json_str); if (json_strlen > msgb_tailroom(msg)) { LOGCC(cc, LOGL_ERROR, "Not enough room for JSON in msgb\n"); - free(json_str); return 0; } out = (char *)msgb_put(msg, json_strlen); memcpy(out, json_str, json_strlen); - free(json_str); osmo_stream_srv_send(cc->srv, msg); return 0; } +/* Send JSON to a given client/connection */ +int cups_client_tx_json(struct cups_client *cc, json_t *jtx) +{ + char *json_str = json_dumps(jtx, JSON_SORT_KEYS); + unsigned int json_strlen; + int rc; + + json_decref(jtx); + if (!json_str) { + LOGCC(cc, LOGL_ERROR, "Error encoding JSON\n"); + return 0; + } + json_strlen = strlen(json_str); + + rc = cups_client_tx_json_str(cc, json_str, json_strlen); + free(json_str); + return rc; +} + json_t *gen_uecups_result(const char *name, const char *res) { json_t *jres = json_object();
View file
osmo-uecups_0.3.0.4.440a.tar.xz/debian/changelog -> osmo-uecups_0.3.0.5.8898.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -osmo-uecups (0.3.0.4.440a) unstable; urgency=medium +osmo-uecups (0.3.0.5.8898) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Fri, 20 Mar 2026 20:25:32 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Mon, 23 Mar 2026 09:43:03 +0000 osmo-uecups (0.3.0) unstable; urgency=medium
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.