Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiacalendar
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
frmMain: Removed dirent.h from header (not in use)
[xestiacalendar/.git]
/
source
/
common
/
uuid.cpp
diff --git
a/source/common/uuid.cpp
b/source/common/uuid.cpp
index
f0b8704
..
1a6ee5a
100644
(file)
--- a/
source/common/uuid.cpp
+++ b/
source/common/uuid.cpp
@@
-37,29
+37,29
@@
string GenerateUUID()
#include <stdio.h>
#include <stdio.h>
- FILE *uuid
_
hdl = popen("uuidgen", "r");
+ FILE *uuidhdl = popen("uuidgen", "r");
- if (uuid
_
hdl == NULL) {
+ if (uuidhdl == NULL) {
return "";
}
return "";
}
- char str
d
ata[64];
- std::string uuid
o
ut;
+ char str
D
ata[64];
+ std::string uuid
O
ut;
- while (fgets(str
data, sizeof(strdata), uuid_
hdl) != NULL){
- uuid
out.append(strd
ata);
+ while (fgets(str
Data, sizeof(strData), uuid
hdl) != NULL){
+ uuid
Out.append(strD
ata);
}
}
- pclose(uuid
_
hdl);
+ pclose(uuidhdl);
#endif
#endif
- if (uuid
o
ut.back() == '\n'){
+ if (uuid
O
ut.back() == '\n'){
- uuid
out.erase(uuido
ut.end()-1);
+ uuid
Out.erase(uuidO
ut.end()-1);
}
}
- return uuid
o
ut;
+ return uuid
O
ut;
}
\ No newline at end of file
}
\ No newline at end of file
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy