Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed logger from client #100

Open
wants to merge 6 commits into
base: devel
Choose a base branch
from
Open

Removed logger from client #100

wants to merge 6 commits into from

Conversation

mruprich
Copy link
Collaborator

No description provided.

@@ -37,23 +38,23 @@
#include "../common/util.h"


int get_new_id(int socket, char **id, char *arch, char *release) {
int get_new_id(int socket, char **id, char *arch, char *release) {//TODO - implement this on server and then repair this function
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO to new line

@@ -536,7 +547,7 @@ int rpm_process(GSList *install, GSList *update, GSList *erase) {
nf |= INSTALL_LABEL | INSTALL_HASH;
rpmtsSetNotifyCallback(ts, rpmShowProgress,(void *) nf);

rc = rpmtsRun(ts, NULL, flag);
rc = rpmtsRun(ts, NULL, flag);//TODO - does this write anything?
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to TODO: yes, but its problem of rpm library

@lnykryn
Copy link

lnykryn commented Apr 5, 2016

If I can suggest something, don't use #ifdef DEBUG to enable debug log messages. In the future when a user reports some weird behavior it is easier to tell him something like "Hey, could you try it again with --log-level debug and send us the logs?", then to tell him to recompile the binary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants