Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dhtnet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
dhtnet
Commits
f3d16a35
Commit
f3d16a35
authored
1 year ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
fileutils: comment out logs
Change-Id: Ia5e9a88c18f8cec577a58bbdd96a948031716bad
parent
665d1110
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/fileutils.cpp
+6
-6
6 additions, 6 deletions
src/fileutils.cpp
with
6 additions
and
6 deletions
src/fileutils.cpp
+
6
−
6
View file @
f3d16a35
...
...
@@ -131,20 +131,20 @@ expand_path(const std::string& path)
switch
(
ret
)
{
case
WRDE_BADCHAR
:
JAMI_ERR
(
"Illegal occurrence of newline or one of |, &, ;, <, >, "
"(, ), {, }."
);
/*
JAMI_ERR("Illegal occurrence of newline or one of |, &, ;, <, >, "
"(, ), {, }.");
*/
return
result
;
case
WRDE_BADVAL
:
JAMI_ERR
(
"An undefined shell variable was referenced"
);
//
JAMI_ERR("An undefined shell variable was referenced");
return
result
;
case
WRDE_CMDSUB
:
JAMI_ERR
(
"Command substitution occurred"
);
//
JAMI_ERR("Command substitution occurred");
return
result
;
case
WRDE_SYNTAX
:
JAMI_ERR
(
"Shell syntax error"
);
//
JAMI_ERR("Shell syntax error");
return
result
;
case
WRDE_NOSPACE
:
JAMI_ERR
(
"Out of memory."
);
//
JAMI_ERR("Out of memory.");
// This is the only error where we must call wordfree
break
;
default:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment